From 388daad59d20da84118067593fc88a89e3f8c9d8 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期五, 07 七月 2023 17:59:50 +0800
Subject: [PATCH] 主题库7-7完善发现bug

---
 Source/UBCS-WEB/src/views/modeling/originalAdd.vue |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/modeling/originalAdd.vue b/Source/UBCS-WEB/src/views/modeling/originalAdd.vue
index f73ccfa..35dccbd 100644
--- a/Source/UBCS-WEB/src/views/modeling/originalAdd.vue
+++ b/Source/UBCS-WEB/src/views/modeling/originalAdd.vue
@@ -297,17 +297,17 @@
         submitAttribute() {
             const that = this;
             if (that.referInitFlag && that.referEditFlag){
-                this.$delete(this.attribute,'dictCode');
-                this.$delete(this.attribute,'dictKey');
-                this.$delete(this.attribute,'dictValue');
-                this.$delete(this.attribute,'usingDict');
+                this.$set(this.attribute,'dictCode','');
+                this.$set(this.attribute,'dictKey','');
+                this.$set(this.attribute,'dictValue','');
+                this.$set(this.attribute,'usingDict','');
             }
             if (that.enumInitFlag && that.enumEditFlag){
-                this.$delete(this.attribute,'referTypeCode');
-                this.$delete(this.attribute,'referTypeKey');
-                this.$delete(this.attribute,'referTypeValue');
-                this.$delete(this.attribute,'referToId');
-                this.$delete(this.attribute,'referToName');
+                this.$set(this.attribute,'referTypeCode','');
+                this.$set(this.attribute,'referTypeKey','');
+                this.$set(this.attribute,'referTypeValue','');
+                this.$set(this.attribute,'referToId','');
+                this.$set(this.attribute,'referToName','');
             }
             this.$refs.form.validate(function (pass, field) {
                 if (pass) {

--
Gitblit v1.9.3