mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-17 22:08:25 +08:00
Fix:修复搜索插件参数没有默认值导致报错的问题
This commit is contained in:
@@ -206,7 +206,7 @@ class Search {
|
||||
}
|
||||
|
||||
// 定位到指定搜索结果索引的节点
|
||||
jump(index, callback) {
|
||||
jump(index, callback = () => {}) {
|
||||
this.searchNext(callback, index)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user