Parcourir la source

fix 项目迁移

scorpio il y a 3 ans
Parent
commit
fc2e580ab1
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/views/home/component/folder_info.vue

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

@@ -236,6 +236,7 @@ export default {
       this.folderInfo.projectId = this.id
       this.folderInfo.projectStageId = this.projectStageId
       this.folderInfo.dictKey = this.dictKey
+      this.folderInfo.parentId = 0
       this.$api.project.folderAdd(this.folderInfo).then(res => {
         if (res.code === 200) {
           this.addShow = false