Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-12-09 12:09:23 +08:00
parent 444b38aa26
commit 00d00b54ef
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
6 changed files with 24 additions and 23 deletions

View file

@ -785,7 +785,13 @@ func exit(c *gin.Context) {
execInstallPkg = int(execInstallPkgArg.(float64))
}
exitCode := model.Close(force, true, execInstallPkg)
setCurrentWorkspaceArg := arg["setCurrentWorkspace"]
setCurrentWorkspace := true
if nil != setCurrentWorkspaceArg {
setCurrentWorkspace = setCurrentWorkspaceArg.(bool)
}
exitCode := model.Close(force, setCurrentWorkspace, execInstallPkg)
ret.Code = exitCode
switch exitCode {
case 0: