mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-07 01:08:49 +01:00
♻️ 重命名重建索引函数
This commit is contained in:
parent
e2e929538b
commit
67ff76c605
6 changed files with 11 additions and 11 deletions
|
|
@ -55,7 +55,7 @@ func refreshFiletree(c *gin.Context) {
|
|||
ret := gulu.Ret.NewResult()
|
||||
defer c.JSON(http.StatusOK, ret)
|
||||
|
||||
model.RefreshFileTree()
|
||||
model.FullReindex()
|
||||
}
|
||||
|
||||
func doc2Heading(c *gin.Context) {
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ func setSearch(c *gin.Context) {
|
|||
model.Conf.Save()
|
||||
sql.SetCaseSensitive(s.CaseSensitive)
|
||||
if s.CaseSensitive != oldCaseSensitive {
|
||||
model.RefreshFileTree()
|
||||
model.FullReindex()
|
||||
}
|
||||
sql.ClearVirtualRefKeywords()
|
||||
ret.Data = s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue