caojunjie 1 anno fa
parent
commit
93731a03d3
1 ha cambiato i file con 10 aggiunte e 10 eliminazioni
  1. 10 10
      src/views/TaskKanban/index.vue

+ 10 - 10
src/views/TaskKanban/index.vue

@@ -42,7 +42,7 @@
       return {
         form: {},
         query: {},
-        loading: true,
+        loading: false,
         page: {
           pageSize: 10,
           currentPage: 1,
@@ -219,7 +219,7 @@
       };
     },
       created() {
-        this.getPostListfun(website.tenantId)
+        // this.getPostListfun(website.tenantId)
       },
       computed: {
       ...mapGetters(["permission"]),
@@ -347,14 +347,14 @@
         this.onLoad(this.page, this.query);
       },
       onLoad(page, params = {}) {
-        this.loading = true;
-        getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
-          const data = res.data.data;
-          this.page.total = data.total;
-          this.data = data.records;
-          this.loading = false;
-          this.selectionClear();
-        });
+        // this.loading = true;
+        // getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
+        //   const data = res.data.data;
+        //   this.page.total = data.total;
+        //   this.data = data.records;
+        //   this.loading = false;
+        //   this.selectionClear();
+        // });
       }
     }
   };