江河分页代码优化

This commit is contained in:
shixiaoman
2021-12-09 15:58:17 +08:00
parent 3717fdcb69
commit a1c46050f9
2 changed files with 3 additions and 3 deletions

View File

@@ -306,8 +306,8 @@
/* 刷新表格 */
reload() {
this.loading = true;
this.datasource = {};
listWaterSiteMonthTotal(this.where).then((res) => {
this.datasource = {};
if (res.data.code == 0) {
this.$message.success(res.data.msg);
this.datasource = res.data.data;

View File

@@ -185,9 +185,9 @@
/* 刷新表格 */
reload() {
this.loading = true;
listWaterSiteYoy(this.where).then((res) => {
this.momData = [];
this.yoyData = [];
listWaterSiteYoy(this.where).then((res) => {
console.log(res.data.data);
if (res.data.code == 0) {
this.$message.success(res.data.msg);