From a707b359d6c9ebee26e31fa8f781a4b3394b5d00 Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Thu, 10 Feb 2022 14:35:38 +0800 Subject: [PATCH] update --- src/pages/counter/list/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')