Demo:修复双击节点图片预览图片不显示的问题

This commit is contained in:
街角小林 2025-04-25 08:30:09 +08:00
parent f350096952
commit d8cf30aa31

View File

@ -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
})