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