From d6dbd8834b02b0401b8cc286312ef5d42e2bb36f Mon Sep 17 00:00:00 2001 From: zyj Date: Wed, 11 Mar 2026 10:28:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20GitCheck=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=20@wailsio/runtime=20Events=20=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/app/components/GitCheck.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/app/components/GitCheck.vue b/frontend/app/components/GitCheck.vue index 0724629..03a6743 100644 --- a/frontend/app/components/GitCheck.vue +++ b/frontend/app/components/GitCheck.vue @@ -9,7 +9,7 @@ import { CloseCircleOutlined, } from '@ant-design/icons-vue' import { AppService } from '../../bindings/github.com/zhuy1228/GitPilot/internal/app' -import { On } from '@wailsio/runtime' +import { Events } from '@wailsio/runtime' const emit = defineEmits(['ready']) @@ -29,7 +29,7 @@ let unsubscribe = null onMounted(async () => { // 监听安装进度事件 - unsubscribe = On('git-install-progress', (event) => { + unsubscribe = Events.On('git-install-progress', (event) => { const data = event.data?.[0] || event.data if (data) { installPhase.value = data.phase