瀏覽代碼

fix 项目迁移

scorpio 2 年之前
父節點
當前提交
a481603bdb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/home/component/authorize.vue

+ 1 - 1
src/views/home/component/authorize.vue

@@ -178,7 +178,7 @@ export default {
       })
       this.$api.project.initCode({
         files: fileTmps,
-        folders: type === 1 ? folderTmp : folder.concat(folderTmp),
+        folders: type === 2 ? folderTmp : folder.concat(folderTmp),
         type: 1,
         projectId: this.projectId
       }).then(res => {