瀏覽代碼

Merge branch 'baiyanting1' of http://124.70.43.205:3000/xieshengjie/jn_sis_zhfx into new-power

baiyanting 1 年之前
父節點
當前提交
26a31944f7
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/views/stateMonitor/alarmCenter/commonAlarm/index.vue

+ 3 - 1
src/views/stateMonitor/alarmCenter/commonAlarm/index.vue

@@ -404,7 +404,9 @@ export default {
             : "";
           this.alarmType = val.query.alarmType;
           this.begin = this.route.ts;
-          this.end = this.route.endts ? this.route.endts : this.end;
+          this.end = this.route.endts
+            ? this.route.endts
+            : dayjs().format("YYYY-MM-DD HH:mm:ss");
           if (!val.query.deviceId) {
             this.GetSubOptions(1);
           } else {