Procházet zdrojové kódy

字典项删除BUG

汪钰 před 3 roky
rodič
revize
039a69ed8d

+ 6 - 0
src/views/system/dictionary/components/dict-edit.vue

@@ -391,6 +391,12 @@
             });
             return;
           }
+          this.form.dictStaticSubmitPOList.forEach((item, index) => {
+            if (item.delectId) {
+              delete item.delectId;
+            }
+          });
+
           this.loading = true;
           const saveOrUpdate = this.isUpdate ? updateDictionary : addDictionary;
           saveOrUpdate(this.form)