Coder Social home page Coder Social logo

wjkang / d2-admin-pm Goto Github PK

View Code? Open in Web Editor NEW
418.0 19.0 118.0 12.43 MB

基于 d2-admin的RBAC权限管理解决方案

Home Page: http://jaycewu.gitee.io/d2-admin-pm/#/index

License: MIT License

JavaScript 39.74% HTML 0.91% Vue 43.81% Shell 0.05% SCSS 15.48%
d2-admin rbac vue2 element-ui axios vuecli3 element vue-admin admin-template

d2-admin-pm's Introduction

d2-admin-pm's People

Contributors

fairyever avatar rockprince avatar seasonrui avatar wjkang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

d2-admin-pm's Issues

折叠侧边栏的时候 鼠标hover图标时 控制台报错

element-ui.common.js?5c96:3682 Uncaught RangeError: Maximum call stack size exceeded.
at VueComponent.handleMouseenter (element-ui.common.js?5c96:3682)
at invoker (vue.runtime.esm.js?2b0e:2023)
at HTMLLIElement.fn._withTask.fn._withTask (vue.runtime.esm.js?2b0e:1822)
at VueComponent.handleMouseenter (element-ui.common.js?5c96:3682)
at invoker (vue.runtime.esm.js?2b0e:2023)
at HTMLLIElement.fn._withTask.fn._withTask (vue.runtime.esm.js?2b0e:1822)
at VueComponent.handleMouseenter (element-ui.common.js?5c96:3682)
at invoker (vue.runtime.esm.js?2b0e:2023)
at HTMLLIElement.fn._withTask.fn._withTask (vue.runtime.esm.js?2b0e:1822)
at VueComponent.handleMouseenter (element-ui.common.js?5c96:3682)

无法登录

您好,我这边这个登陆就登陆不了了,说请求错误

登录过期过问题

登录后,token过期,src/plugin/axios/index.js里只删除了uuid,然后跳转到登录页。此时src/router/index.js 中的isFetchPermissionInfo已经是等于true,路由也已经加载该A用户的权限路由跟菜单,如果登录其他账号B,那么B显示的是A的路由跟菜单。所以如果过期的话,应该需要进行刷新吧

后端mock服务 启动不了

MacBook-Pro:d2-sql eagle$ cnpm start

[email protected] start /www/d2-sql
gulp nodemon

fs.js:27
const { Math, Object } = primordials;
^

ReferenceError: primordials is not defined
at fs.js:27:26
at req_ (/www/d2-sql/node_modules/_natives@1.1.6@natives/index.js:143:24)
at Object.req [as require] (/www/d2-sql/node_modules/_natives@1.1.6@natives/index.js:55:10)
at Object. (/www/d2-sql/node_modules/_graceful-fs@3.0.12@graceful-fs/fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:936:30)
at Module._extensions..js (internal/modules/cjs/loader.js:947:10)
at Object.require.extensions. [as .js] (/www/d2-sql/node_modules/_babel-register@6.26.0@babel-register/lib/node.js:152:7)
at Module.load (internal/modules/cjs/loader.js:790:32)
at Function.Module._load (internal/modules/cjs/loader.js:703:12)
at Module.require (internal/modules/cjs/loader.js:830:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: gulp nodemon
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/eagle/.npm/_logs/2019-11-06T10_10_42_067Z-debug.log

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/usr/local/bin/node',
1 verbose cli '/usr/local/lib/node_modules/cnpm/node_modules/.bin/npm',
1 verbose cli '--userconfig=/Users/eagle/.cnpmrc',
1 verbose cli '--disturl=https://npm.taobao.org/mirrors/node',
1 verbose cli '--registry=https://r.npm.taobao.org',
1 verbose cli 'start'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]prestart: [email protected]
6 info lifecycle [email protected]
start: [email protected]
7 verbose lifecycle [email protected]start: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]
start: PATH: /usr/local/lib/node_modules/cnpm/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/www/d2-sql/node_modules/.bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/Users/eagle/Library/Application Support/GoodSync:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/Ghostscript/bin:/opt/ImageMagick/bin:/Applications/Wireshark.app/Contents/MacOS:/usr/local/git/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/Users/eagle/Library/Application Support/GoodSync:/AIRSDK/bin:/Applications/MAMP/Library/bin:/AIRSDK/bin:/Applications/MAMP/Library/bin
9 verbose lifecycle [email protected]start: CWD: /www/d2-sql
10 silly lifecycle [email protected]
start: Args: [ '-c', 'gulp nodemon' ]
11 silly lifecycle [email protected]start: Returned: code: 1 signal: null
12 info lifecycle [email protected]
start: Failed to exec start script
13 verbose stack Error: [email protected] start: gulp nodemon
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/local/lib/node_modules/cnpm/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:209:13)
13 verbose stack at ChildProcess. (/usr/local/lib/node_modules/cnpm/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:209:13)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
14 verbose pkgid [email protected]
15 verbose cwd /www/d2-sql
16 verbose Darwin 17.7.0
17 verbose argv "/usr/local/bin/node" "/usr/local/lib/node_modules/cnpm/node_modules/.bin/npm" "--userconfig=/Users/eagle/.cnpmrc" "--disturl=https://npm.taobao.org/mirrors/node" "--registry=https://r.npm.taobao.org" "start"
18 verbose node v12.10.0
19 verbose npm v6.11.3
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] start: gulp nodemon
22 error Exit status 1
23 error Failed at the [email protected] start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

啥问题呀。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.