Demo:优化节点图片添加了无法访问的图片的展示样式
This commit is contained in:
parent
9f19061010
commit
e56a6d36cb
@ -124,8 +124,8 @@ export default {
|
|||||||
node.setImage({
|
node.setImage({
|
||||||
url: img || 'none',
|
url: img || 'none',
|
||||||
title: this.imgTitle,
|
title: this.imgTitle,
|
||||||
width: res.width,
|
width: res.width || 100,
|
||||||
height: res.height
|
height: res.height || 100
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
this.cancel()
|
this.cancel()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user