소스 검색

:zap: 修复字典子项新增的页面缓存问题

smallchill 5 년 전
부모
커밋
9b39062977
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      src/views/system/dict.vue

+ 5 - 0
src/views/system/dict.vue

@@ -177,6 +177,11 @@
         });
       },
       handleAdd(row) {
+        this.$refs.crudChild.value.dictValue = "";
+        this.$refs.crudChild.value.dictKey = "";
+        this.$refs.crudChild.value.sort = 0;
+        this.$refs.crudChild.value.isSealed = 0;
+        this.$refs.crudChild.value.remark = "";
         this.$refs.crudChild.value.parentId = row.id;
         this.$refs.crudChild.option.column.filter(item => {
           if (item.prop === "parentId") {