소스 검색

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