mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-21 18:37:43 +08:00
Fix:修复某些情况下搜索时数据改变,搜索结果没有更新的问题
This commit is contained in:
parent
7e3a1e405e
commit
c4a846a195
@ -118,6 +118,8 @@ class Search {
|
||||
node => {
|
||||
if (!(currentNode instanceof Node)) {
|
||||
this.matchNodeList[this.currentIndex] = node
|
||||
} else {
|
||||
this.notResetSearchText = false
|
||||
}
|
||||
callback()
|
||||
// 只读模式下节点无法激活,所以通过高亮的方式
|
||||
|
||||
@ -9,3 +9,5 @@ content = content.replace(
|
||||
`$1'${pkg.version}'$2`
|
||||
)
|
||||
fs.writeFileSync(file, content)
|
||||
|
||||
console.warn('请注意手绘风格选项是否开启!!!!')
|
||||
Loading…
Reference in New Issue
Block a user