mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 移动端支持多工作空间 https://github.com/siyuan-note/siyuan/issues/4642
This commit is contained in:
parent
fb7361d98b
commit
a9cb87787e
2 changed files with 95 additions and 29 deletions
|
|
@ -217,7 +217,7 @@ func initWorkspaceDir(workspaceArg string) {
|
|||
log.Printf("unmarshal workspace conf [%s] failed: %s", workspaceConf, err)
|
||||
}
|
||||
|
||||
tmp := workspacePaths[:0]
|
||||
var tmp []string
|
||||
for _, d := range workspacePaths {
|
||||
d = strings.TrimRight(d, " \t\n") // 去掉工作空间路径尾部空格 https://github.com/siyuan-note/siyuan/issues/6353
|
||||
if gulu.File.IsDir(d) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue