|
|
@@ -43,7 +43,7 @@
|
|
|
nowWeeks: '',
|
|
|
nowDay: '',
|
|
|
nowTime: '',
|
|
|
- version: localStorage.version
|
|
|
+ version: ''
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
@@ -54,10 +54,10 @@
|
|
|
let s = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds();
|
|
|
this.nowTime = h + m + s;
|
|
|
this.nowDayFunc();
|
|
|
+ // 获取版本号
|
|
|
+ this.version = localStorage.version;
|
|
|
}, 1000);
|
|
|
this.getCurVersion();
|
|
|
- // 获取版本号
|
|
|
- this.version = localStorage.version;
|
|
|
},
|
|
|
beforeDestroy() {
|
|
|
clearInterval(this.timer);
|