From fe8200d8de32ade9099a7c97b8cb58b428afceef Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期二, 19 十一月 2024 16:35:25 +0800 Subject: [PATCH] 修改树查询 --- Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 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 8a7ccc6..8cc40c2 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 @@ -58,6 +58,9 @@ :size="scope.size"></el-button> </el-tooltip> </template> + <template #icon="{ row }"> + <i :class="'iconfont '+row.icon"> </i> + </template> </avue-crud> </div> </template> @@ -202,7 +205,6 @@ }, isShow: { handler(newval) { - debugger; if (newval && this.$el.clientHeight > 50) { this.parentHeight = this.$el.clientHeight - this.$children[0].$children[1].$children[0].$el.clientHeight - this.$children[0].$children[2].$el.clientHeight - 5; } @@ -227,10 +229,10 @@ }, 'sourceData':{ handler(newval) { - if(newval) { + if(newval && Object.keys(newval).length>0) { this.sourceDataMapParams=this.sourceDataMap(); this.getParams(); - // this.handleRefresh(); + this.handleRefresh(); } }, deep: true, -- Gitblit v1.9.3