소스 검색

字典项删除BUG

汪钰 3 년 전
부모
커밋
039a69ed8d
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  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)