|
@@ -251,10 +251,11 @@ export default {
|
251
|
251
|
},
|
252
|
252
|
},
|
253
|
253
|
created(){
|
254
|
|
- if(sessionStorage.getItem('lineUpKey') != null){
|
255
|
|
- if(sessionStorage.getItem('lineUpKey') == 1){
|
|
254
|
+ if(sessionStorage.getItem('signIn') != null){
|
|
255
|
+ if(sessionStorage.getItem('signIn') == 2){
|
256
|
256
|
this.dialogTableVisible = true
|
257
|
257
|
}
|
|
258
|
+ sessionStorage.removeItem('signIn')
|
258
|
259
|
}
|
259
|
260
|
this.initData = {
|
260
|
261
|
cmd: "queue/join",
|
|
@@ -325,9 +326,11 @@ export default {
|
325
|
326
|
this.timerID = setInterval(() => {
|
326
|
327
|
this.updateTime()
|
327
|
328
|
}, 1000);
|
328
|
|
- // this.newTimes = setInterval(() => {
|
329
|
|
- // this.reload()
|
330
|
|
- // }, 1000 * 60 * 30);
|
|
329
|
+ this.newTimes = setInterval(() => {
|
|
330
|
+ // this.reload()
|
|
331
|
+ sessionStorage.setItem('signIn',2);
|
|
332
|
+ window.location.reload()
|
|
333
|
+ }, 1000 * 60 * 30);
|
331
|
334
|
},
|
332
|
335
|
beforeDestroy(){
|
333
|
336
|
clearInterval(this.timer); // 清除定时器
|