|
@@ -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();
|
|
|
+ // });
|
|
|
}
|
|
|
}
|
|
|
};
|