Demo:优化节点图片添加了无法访问的图片的展示样式

This commit is contained in:
街角小林 2024-09-20 17:33:16 +08:00
parent 9f19061010
commit e56a6d36cb

View File

@ -124,8 +124,8 @@ export default {
node.setImage({
url: img || 'none',
title: this.imgTitle,
width: res.width,
height: res.height
width: res.width || 100,
height: res.height || 100
})
})
this.cancel()