mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🧑💻 Add internal kernel API /api/ui/reloadIcon https://github.com/siyuan-note/siyuan/issues/16008
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
e9411f9677
commit
e22d373ba8
3 changed files with 12 additions and 0 deletions
|
|
@ -71,3 +71,10 @@ func reloadUI(c *gin.Context) {
|
|||
|
||||
util.ReloadUI()
|
||||
}
|
||||
|
||||
func reloadIcon(c *gin.Context) {
|
||||
ret := gulu.Ret.NewResult()
|
||||
defer c.JSON(http.StatusOK, ret)
|
||||
|
||||
model.ReloadIcon()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue