fix 插入图片
This commit is contained in:
@@ -567,9 +567,9 @@ export default {
|
||||
}).then(res => {
|
||||
this.loading = false
|
||||
console.log(res)
|
||||
this.imageUrl = this.staticFilePath + '?path=' + res.result.url
|
||||
this.imageUrl = this.downloadFilePath + '?path=' + res.result.url
|
||||
const img = new Image()
|
||||
img.src = this.staticFilePath + '?path=' + res.result.url
|
||||
img.src = this.downloadFilePath + '?path=' + res.result.url
|
||||
if (img.complete) {
|
||||
this.imgOrigin = {
|
||||
width: img.width,
|
||||
|
||||
Reference in New Issue
Block a user