|
|
@@ -135,12 +135,14 @@ export default { |
|
|
|
async afterReadUrl(file) { |
|
|
|
let photo2Url = await this.uploadFile(file, null); |
|
|
|
this.uploadFileList.push(photo2Url); |
|
|
|
console.log(this.uploadFileList); |
|
|
|
// console.log(this.uploadFileList); |
|
|
|
}, |
|
|
|
}, |
|
|
|
//生命周期 - 创建完成(可以访问当前this实例) |
|
|
|
created() { |
|
|
|
this.uploadFileList = JSON.parse(this.companyInfo.enterpriseFeatures); |
|
|
|
this.uploadFileList = this.companyInfo.enterpriseFeatures |
|
|
|
? JSON.parse(this.companyInfo.enterpriseFeatures) |
|
|
|
: []; |
|
|
|
if (this.companyInfo.enterpriseFeatures) { |
|
|
|
this.uploadFileList.forEach(item => { |
|
|
|
this.fileList.push({ |