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