Parcourir la source

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

smallchill il y a 5 ans
Parent
commit
9b39062977
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  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") {