From ba296fa0cc7711ea745564bda80b2d1d8a3a09f0 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期一, 13 十一月 2023 19:00:37 +0800 Subject: [PATCH] modified: src/views/basic/param/index.vue modified: src/views/common/param-mergeTemplate.vue --- src/views/common/param-mergeTemplate.vue | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/views/common/param-mergeTemplate.vue b/src/views/common/param-mergeTemplate.vue index 796737f..d8a0cb7 100644 --- a/src/views/common/param-mergeTemplate.vue +++ b/src/views/common/param-mergeTemplate.vue @@ -3,7 +3,7 @@ <avue-crud ref="crud" class="l-mes" - rowKey="oneId" + rowKey="id" :data="tableData" :option="option" :span-method="spanMethod" @@ -169,6 +169,9 @@ }, }, watch:{ + table(val) { + this.doLayout() + }, tableTreeData:{ handler(old,newval){ this.loading = true @@ -178,7 +181,7 @@ this.loading = false }, deep: true - } + }, }, created() { this.loading = true @@ -187,7 +190,7 @@ this.rowCalc() setTimeout(()=>{ this.loading = false - },3000) + },1000) }, data(){ return { @@ -275,7 +278,7 @@ </script> <style> -.avue-crud__menu { +.avue-crud_menu{ display: none; } .avue-crud .el-table th { -- Gitblit v1.9.3