From 8835c9e1dec836d6d8159e78b9df12ad6402ad98 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 14 十一月 2024 10:03:24 +0800 Subject: [PATCH] 修复bug 整合代码 --- Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue b/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue index 9d71bfd..3f07b29 100644 --- a/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue +++ b/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue @@ -230,7 +230,7 @@ if(newval) { this.sourceDataMapParams=this.sourceDataMap(); this.getParams(); - this.handleRefresh(); + // this.handleRefresh(); } }, deep: true, @@ -327,6 +327,7 @@ }, onLoad(page, params = {}) { if (Object.keys(this.sourceData).length>0 && this.isShow) { + this.tableList = []; this.loading = true; getList(page.currentPage, page.pageSize, Object.assign({},this.params,this.query,params)).then(res => { let data = []; @@ -400,6 +401,7 @@ this.onLoad(this.page,parms); }, searchReset() { + console.log('searchReset') this.query = {}; this.onLoad(this.page); }, @@ -412,6 +414,7 @@ } }, handleRefresh(type) { + console.log('handleRefresh') this.onLoad(this.page); }, rowExcel() { -- Gitblit v1.9.3