From b48356e1b39f8e812f85d1627c0fc18e1f4d58ba Mon Sep 17 00:00:00 2001 From: lihang <lihang@vci-tech.com> Date: 星期四, 15 六月 2023 16:42:41 +0800 Subject: [PATCH] 对象建模菜单相关的bug修正 --- Source/UBCS-WEB/src/components/FormTemplate/index.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/components/FormTemplate/index.vue b/Source/UBCS-WEB/src/components/FormTemplate/index.vue index 6009b7e..a5e99a0 100644 --- a/Source/UBCS-WEB/src/components/FormTemplate/index.vue +++ b/Source/UBCS-WEB/src/components/FormTemplate/index.vue @@ -1,6 +1,7 @@ <template> <el-dialog :visible.sync="dialogVisible" + v-if="dialogVisible" v-dialogDrag top="0vh" :title="title" @@ -14,6 +15,7 @@ :visible="visible" :type="type" :rowOid="rowOid" + :templateOid="templateOid" ref="FormTempalte" @getFormData="getFormData" ></FormTempalte> @@ -160,7 +162,9 @@ methods: { openDialog() { this.getFormTemplate(); - this.getCodeRule(); + if (this.type === 'add') { + this.getCodeRule(); + } }, close() { this.dialogVisible = false; -- Gitblit v1.9.3