取消状态报表缓存

master
fanluyan 1 year ago
parent 467ec88679
commit d8d0e602b9

@ -554,7 +554,11 @@ export default {
towerId: 0,
isonline: -1,
protocolId: 0,
activityId: 0,
activityId:
JSON.parse(localStorage.getItem("activeId")) !== null
? JSON.parse(localStorage.getItem("activeId"))
: 0,
ismntend: 1,
oidInput: "",
oidCheck: 0,
cmdidInput: "",
@ -564,6 +568,7 @@ export default {
versionInput: "",
versionCheck: 0,
};
this.onSubmit();
},
//

@ -220,6 +220,7 @@ export default {
methods: {
startCountdown() {
this.newupdatatime = new Date().getTime(); //
//
if (this.intervalId) {
clearInterval(this.intervalId);
@ -237,7 +238,6 @@ export default {
//
return "计算中...";
}
const estimatedPublishTime = item.estimatedPublishTime * 1000;
const difference = estimatedPublishTime - this.newupdatatime;
const minutes = Math.floor(difference / 60000);

Loading…
Cancel
Save