mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-04-30 07:10:20 -05:00
🎨 虚拟引用不再缓存关键字 Fix https://github.com/siyuan-note/siyuan/issues/6602
This commit is contained in:
@@ -28,11 +28,6 @@ import (
|
||||
)
|
||||
|
||||
func QueryVirtualRefKeywords(name, alias, anchor, doc bool) (ret []string) {
|
||||
ret, ok := getVirtualRefKeywordsCache()
|
||||
if ok {
|
||||
return ret
|
||||
}
|
||||
|
||||
if name {
|
||||
ret = append(ret, queryNames()...)
|
||||
}
|
||||
@@ -49,7 +44,6 @@ func QueryVirtualRefKeywords(name, alias, anchor, doc bool) (ret []string) {
|
||||
sort.SliceStable(ret, func(i, j int) bool {
|
||||
return len(ret[i]) >= len(ret[j])
|
||||
})
|
||||
setVirtualRefKeywords(ret)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user