Selaa lähdekoodia

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

smallchill 5 vuotta sitten
vanhempi
commit
9b39062977
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  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") {