mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-21 18:37:43 +08:00
Demo:修复双击节点图片预览图片不显示的问题
This commit is contained in:
parent
f350096952
commit
d8cf30aa31
@ -29,7 +29,7 @@ export default {
|
||||
onNodeTmgDblclick(node, e) {
|
||||
e.stopPropagation()
|
||||
e.preventDefault()
|
||||
this.images = [node.nodeData.data.image]
|
||||
this.images = [node.getImageUrl()]
|
||||
this.$viewerApi({
|
||||
images: this.images
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user