diff --git a/client/src/store/modules/user.js b/client/src/store/modules/user.js index 32e0b6c..9a083d5 100644 --- a/client/src/store/modules/user.js +++ b/client/src/store/modules/user.js @@ -116,7 +116,8 @@ const actions = { if (!perms || perms.length <= 0) { reject('没有任何权限!') }else{ - if(dept==5||dept==33||dept==34||dept==55||dept==36||dept==37||dept==38 + debugger; + if(dept==5||dept==35||dept==33||dept==34||dept==55||dept==36||dept==37||dept==38 ||dept==39||dept==40||dept==41||dept==42||dept==67||dept==97||dept==100){ perms.push('test') commit('SET_PERMS', perms); diff --git a/client/src/views/login/index.vue b/client/src/views/login/index.vue index 571de2b..af952a6 100644 --- a/client/src/views/login/index.vue +++ b/client/src/views/login/index.vue @@ -229,7 +229,7 @@ export default { getTimer() { const TIME_COUNT = 60; if (!this.timer) { - this.count = COUNT; + this.count = TIME_COUNT; this.disabled = true; this.timer = setInterval(() => { if (this.count > 0 && this.count <= TIME_COUNT) {