fix(图表): 修复富文本内部超链接无法打开当前DE系统的公共链接问题 #8696

This commit is contained in:
wangjiahao 2024-04-02 12:30:10 +08:00
parent b5a269e9c9
commit 5327fd4522

View File

@ -153,7 +153,6 @@ watch(
canEdit.value = false
reShow()
myValue.value = assignment(element.value.propValue.textValue)
ed.setContent(myValue.value)
}
}
)
@ -212,6 +211,9 @@ const assignment = content => {
})
}
content = content.replace('class="base-selected"', '')
//De
content = content.replace(/href="#\//g, 'href="/#/')
content = content.replace(/href=\\"#\//g, 'href=\\"/#/')
resetSelect()
return content
}