From 571ce3c50b834b0c26fc90a74c0590c823421353 Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期五, 04 八月 2023 15:15:24 +0800 Subject: [PATCH] 1、修改模板流程新建重复数据报错问题。 --- Source/UBCS-WEB/src/components/template/Stage.vue | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/components/template/Stage.vue b/Source/UBCS-WEB/src/components/template/Stage.vue index 7d01c68..e440f54 100644 --- a/Source/UBCS-WEB/src/components/template/Stage.vue +++ b/Source/UBCS-WEB/src/components/template/Stage.vue @@ -38,7 +38,11 @@ } }, watch: { - + code: { + handler(newval, oldval) { + this.getDataList() + } + } }, data() { const options = { @@ -98,6 +102,7 @@ ], option: { ...options, + height: 383, column: [ { label: '妯℃澘缂栧彿', prop: 'modelKey' }, { label: '妯℃澘鍚嶇О', prop: 'modelName' }, @@ -139,6 +144,8 @@ this.data = data.records this.page.total = data.total } else this.loading = false + }else { + this.data=[] } }, // 鑾峰彇闃舵鍒楄〃 -- Gitblit v1.9.3