修复warning 前端启动自动打开文档

This commit is contained in:
QM303176530
2020-10-11 11:42:58 +08:00
parent b7fd730c5e
commit f5c6f95b27
3 changed files with 3 additions and 8 deletions

View File

@@ -61,9 +61,9 @@ export default {
}
return isRightSize;
},
handleImageSuccess(res, file) {
handleImageSuccess(res) {
// this.imageUrl = URL.createObjectURL(file.raw);
const { code, msg, data } = res;
const { data } = res;
if (data.file) {
this.$emit("change", data.file.url);
}