🎨 移动端支持多工作空间 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
|
||||
return
|
||||
}
|
||||
|
||||
if util.WorkspaceDir == path {
|
||||
os.Exit(util.ExitCodeOk)
|
||||
}
|
||||
}
|
||||
|
||||
func listWorkspaceDirs(c *gin.Context) {
|
||||
|
|
Loading…
Add table
Reference in a new issue