Explorar el Código

fix 项目迁移

scorpio hace 2 años
padre
commit
a481603bdb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 => {