feat: 在工作区启动后自动刷新状态并隐藏提示

This commit is contained in:
2026-02-22 00:49:16 +08:00
parent 6b37e34392
commit f1c27a8726

View File

@@ -274,6 +274,7 @@ export const useRepoStore = create<State>((set, get) => {
clearInterval(interval)
toast.dismiss(loadingToastId)
toast.success(`工作区已启动,正在打开: ${check.data.url}`)
get().refresh({ showTips: false })
setTimeout(() => {
window.open(check.data?.url, '_blank')
}, 200)