Browse Source

字典项删除BUG

汪钰 3 năm trước cách đây
mục cha
commit
039a69ed8d
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      src/views/system/dictionary/components/dict-edit.vue

+ 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)