mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-21 10:27:44 +08:00
Demo:修复节点图片弹窗中图片不显示的问题
This commit is contained in:
parent
d8cf30aa31
commit
d8df80147d
@ -72,7 +72,7 @@ export default {
|
||||
this.reset()
|
||||
if (this.activeNodes.length > 0) {
|
||||
let firstNode = this.activeNodes[0]
|
||||
let img = firstNode.getData('image') || ''
|
||||
let img = firstNode.getImageUrl() || ''
|
||||
if (img) {
|
||||
if (/^https?:\/\//.test(img)) {
|
||||
this.imgUrl = img
|
||||
|
||||
Loading…
Reference in New Issue
Block a user