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')