mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 01:20:12 +01:00
🎨 移动端支持多工作空间 https://github.com/siyuan-note/siyuan/issues/4642
This commit is contained in:
parent
fbb1fee486
commit
a4ca84376b
6 changed files with 11 additions and 6 deletions
|
|
@ -22,6 +22,7 @@ import (
|
|||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/88250/gulu"
|
||||
"github.com/gin-gonic/gin"
|
||||
|
|
@ -176,5 +177,9 @@ func setWorkspaceDir(c *gin.Context) {
|
|||
}
|
||||
}
|
||||
|
||||
util.PushMsg(model.Conf.Language(42), 1000*15)
|
||||
if util.ContainerAndroid == util.Container || util.ContainerIOS == util.Container {
|
||||
util.PushMsg(model.Conf.Language(42), 1000*15)
|
||||
time.Sleep(time.Second * 2)
|
||||
model.Close(false, 1)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue