From feda8682320b741c54fe0e40a637227abfd9f9ae Mon Sep 17 00:00:00 2001 From: niushuai233 Date: Wed, 4 Jan 2023 16:50:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20key=E5=92=8Civ=E8=BF=98=E6=98=AF?= =?UTF-8?q?=E4=B8=8D=E8=A6=81=E8=B5=B0=E6=8E=A5=E5=8F=A3=E5=8E=BB=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/encrypt.js | 4 ++-- src/views/user/Login.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/store/modules/encrypt.js b/src/store/modules/encrypt.js index 5300112..16e2ed0 100644 --- a/src/store/modules/encrypt.js +++ b/src/store/modules/encrypt.js @@ -1,7 +1,7 @@ const encrypt = { state: { - KEY: 'default', - IV: 'default' + KEY: 'B3AC90F688974749', + IV: 'A39F3975DC5D4D38' }, mutations: { ENCRYPT_KEY: (state, key) => { diff --git a/src/views/user/Login.vue b/src/views/user/Login.vue index 662ccfe..1f66a78 100644 --- a/src/views/user/Login.vue +++ b/src/views/user/Login.vue @@ -93,7 +93,7 @@ export default { Vue.ls.remove(ACCESS_TOKEN) this.getRouterData() this.rememberMe = true - this.initEncryptKv() + // this.initEncryptKv() }, methods: { initEncryptKv() {