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