mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
♻️ Refactor push reload filetree, tag and protyle
This commit is contained in:
parent
ebb74238c9
commit
246efd5938
7 changed files with 19 additions and 7 deletions
|
|
@ -29,14 +29,14 @@ func reloadTag(c *gin.Context) {
|
|||
ret := gulu.Ret.NewResult()
|
||||
defer c.JSON(http.StatusOK, ret)
|
||||
|
||||
util.PushReloadTag()
|
||||
model.ReloadTag()
|
||||
}
|
||||
|
||||
func reloadFiletree(c *gin.Context) {
|
||||
ret := gulu.Ret.NewResult()
|
||||
defer c.JSON(http.StatusOK, ret)
|
||||
|
||||
util.PushReloadFiletree()
|
||||
model.ReloadFiletree()
|
||||
}
|
||||
|
||||
func reloadProtyle(c *gin.Context) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue