mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
perf: Reload after switch workspace
This commit is contained in:
@@ -43,6 +43,7 @@ const handleDefaultWorkspaceChange = (item: any) => {
|
||||
currentWorkspace.value = { id: item.id, name: item.name }
|
||||
userApi.ws_change(item.id).then(() => {
|
||||
ElMessage.success(t('common.switch_success'))
|
||||
location.reload()
|
||||
})
|
||||
emit('selectWorkspace', item)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user