Explorar el Código

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

smallchill hace 5 años
padre
commit
9b39062977
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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") {