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