mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01:00
🎨 移动端支持多工作空间 https://github.com/siyuan-note/siyuan/issues/4642
This commit is contained in:
parent
c827caba48
commit
735c104af4
1 changed files with 4 additions and 0 deletions
|
|
@ -98,6 +98,10 @@ func removeWorkspaceDir(c *gin.Context) {
|
||||||
ret.Msg = msg
|
ret.Msg = msg
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if util.WorkspaceDir == path {
|
||||||
|
os.Exit(util.ExitCodeOk)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func listWorkspaceDirs(c *gin.Context) {
|
func listWorkspaceDirs(c *gin.Context) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue