Browse Source

fix bug

新建文件夹,清空
scorpio 2 năm trước cách đây
mục cha
commit
54dc9f4ecd
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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 {