Przeglądaj źródła

核心报表bug修复

修复切换系统后页码没有切换到第一页的问题
fujunwen 4 lat temu
rodzic
commit
31ba358120
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      src/views/analysis/CoreDeviceReport.vue

+ 2 - 0
src/views/analysis/CoreDeviceReport.vue

@@ -281,6 +281,7 @@ export default {
      */
     changeCurSystem(val) {
       console.log("val", val);
+      this.curPage = 1;
       this.getEquipmentOfSystem();
     },
     /**
@@ -380,6 +381,7 @@ export default {
      */
     showEquipmentStatus(row, column, e) {
       setTimeout(() => {
+        this.hisCurPage = 1;
         if (this.showDetail || this.showAccessory) {
           // if (this.showAccessory) {
           //   this.showAccessory = false;