From ab7f69c418d0429121086f0f01280c3ca8ed9d4b Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 31 Oct 2023 10:34:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E4=BF=AE=E5=A4=8D=EF=BC=8C=E6=80=BB?= =?UTF-8?q?=E9=83=A8=E6=96=87=E4=BB=B6=E6=9D=83=E9=99=90=E6=94=B9=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/store/modules/user.js | 3 ++- client/src/views/login/index.vue | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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) {