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