20240205
luoJunYong.123 3 years ago
parent 72140ed5a2
commit a707b359d6
  1. 4
      src/pages/counter/list/index.vue

@ -1057,11 +1057,11 @@ export default {
} }
if(sessionStorage.getItem('businessSelect')) { 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",()=>{ window.addEventListener("beforeunload",()=>{
sessionStorage.setItem('businessKey', this.$store.state.system.businessKey) 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() this.startPlay()
console.log('startPlay') console.log('startPlay')

Loading…
Cancel
Save