|
@@ -1279,7 +1279,12 @@ export default {
|
|
|
|
|
|
this.form.projectType = res.data.projectType //工程类型
|
|
|
this.form.storageType = res.data.storageType //储存类型
|
|
|
- this.form.fileType = res.data.fileType //文件类型
|
|
|
+
|
|
|
+ if(Array.isArray(res.data.fileType)){
|
|
|
+ this.form.fileType = res.data.fileType //文件类型
|
|
|
+ }else{
|
|
|
+ this.form.fileType = [];
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
async archiveTreetree4 () {//全加载左侧树
|