From e603a50d9760d08a866ab730c2ec4de1c21cc557 Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Wed, 9 Feb 2022 17:58:10 +0800 Subject: [PATCH] update --- src/App.vue | 2 -- src/pages/counter/list/index.vue | 4 ++-- src/pages/manage/list/client/consumerClient.vue | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/App.vue b/src/App.vue index f19a895..17ec6d3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -27,8 +27,6 @@ window.addEventListener("beforeunload",()=>{ util.local.get(Setting.tokenKey) && util.local.set(Setting.storeKey,this.$store.state) sessionStorage.setItem('systemData', this.$store.system.state) - console.log('????/') - console.log(sessionStorage.getItem('systemData')) }) } } diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index de40aa6..b6dec6b 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -1057,11 +1057,11 @@ export default { } if(sessionStorage.getItem('businessSelect')) { // 调试时注释掉 - // this.$store.commit('system/setBusinessSelect', JSON.parse(sessionStorage.getItem('businessSelect'))) + this.$store.commit('system/setBusinessSelect', JSON.parse(sessionStorage.getItem('businessSelect'))) } window.addEventListener("beforeunload",()=>{ sessionStorage.setItem('businessKey', this.$store.state.system.businessKey) - // sessionStorage.setItem('businessSelect', JSON.stringify(this.$store.state.system.businessSelect)) + sessionStorage.setItem('businessSelect', JSON.stringify(this.$store.state.system.businessSelect)) }) this.startPlay() console.log('startPlay') diff --git a/src/pages/manage/list/client/consumerClient.vue b/src/pages/manage/list/client/consumerClient.vue index dfb13f7..1d319d0 100644 --- a/src/pages/manage/list/client/consumerClient.vue +++ b/src/pages/manage/list/client/consumerClient.vue @@ -70,7 +70,7 @@ - 提交 + 提交