Fix:修复从富文本模式切换到非富文本模式时没有触发数据更新和历史记录的问题
This commit is contained in:
parent
cca42d1f89
commit
2b4ab4a322
@ -442,6 +442,7 @@ class RichText {
|
|||||||
0,
|
0,
|
||||||
0
|
0
|
||||||
)
|
)
|
||||||
|
// 清空历史数据,并且触发数据变化
|
||||||
this.mindMap.command.clearHistory()
|
this.mindMap.command.clearHistory()
|
||||||
this.mindMap.command.addHistory()
|
this.mindMap.command.addHistory()
|
||||||
this.mindMap.reRender()
|
this.mindMap.reRender()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user