forked from github/dataease
fix(图表): 修复富文本内部超链接无法打开当前DE系统的公共链接问题 #8696
This commit is contained in:
parent
b5a269e9c9
commit
5327fd4522
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user