|
@@ -115,7 +115,7 @@ export default {
|
|
// 上传,赋值
|
|
// 上传,赋值
|
|
const res = await this.upload({ file, dir: 'serve' });
|
|
const res = await this.upload({ file, dir: 'serve' });
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|
|
- this.$set(this.form, model, [{ url: res.uri }]);
|
|
|
|
|
|
+ this.form[model].push({ url: res.uri });
|
|
}
|
|
}
|
|
},
|
|
},
|
|
},
|
|
},
|