Ver código fonte

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

smallchill 5 anos atrás
pai
commit
9b39062977
1 arquivos alterados com 5 adições e 0 exclusões
  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") {