取消状态报表缓存

master
fanluyan 1 year ago
parent 467ec88679
commit d8d0e602b9

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

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

Loading…
Cancel
Save