Merge pull request #8873 from dataease/pr@dev-v2@fix_link

fix(图表): 修复富文本内部超链接无法打开当前DE系统的公共链接问题 #8696
This commit is contained in:
王嘉豪 2024-04-02 12:31:35 +08:00 committed by GitHub
commit 031e81c71d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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
}