mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-06-05 07:30:29 +08:00
fix the wrong then call on electron.ipcRenderer.invoke('prepare-run-geek-auto-start-chat-with-boss') - which should be catch call
This commit is contained in:
@@ -24,7 +24,7 @@ onMounted(() => {
|
||||
.then(() => {
|
||||
router.replace('/geekAutoStartChatWithBoss/runningStatus')
|
||||
})
|
||||
.then(async (err) => {
|
||||
.catch(async (err) => {
|
||||
if (err instanceof Error && err.message.includes('NEED_TO_CHECK_RUNTIME_DEPENDENCIES')) {
|
||||
ElMessage.error({
|
||||
message: `核心组件损坏,正在尝试修复`
|
||||
|
||||
Reference in New Issue
Block a user