소스 검색

fix bug

新建文件夹,清空
scorpio 2 년 전
부모
커밋
54dc9f4ecd
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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 {