Эх сурвалжийг харах

fix bug

新建文件夹,清空
scorpio 2 жил өмнө
parent
commit
54dc9f4ecd

+ 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 {