Browse Source

fix bug

新建文件夹,清空
scorpio 2 years ago
parent
commit
54dc9f4ecd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/home/component/folder_info.vue

+ 2 - 0
src/views/home/component/folder_info.vue

@@ -336,6 +336,8 @@ export default {
       this.$api.project.folderAdd(this.folderInfo).then(res => {
         if (res.code === 200) {
           this.addShow = false
+          this.folderInfo.title = ''
+          this.folderInfo.dictKey = 1
           this.$message.success(res.msg)
           this.getFolderList()
         } else {