From 7b71522afb7a2d447f9e13858d43940a00b48a5a Mon Sep 17 00:00:00 2001 From: shenmo Date: Tue, 24 Mar 2026 20:50:38 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=AE=80=E5=8C=96=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E5=AE=8C=E6=88=90=E5=9B=9E=E8=B0=83=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E7=9A=84=E6=9D=A1=E4=BB=B6=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/App.vue b/src/App.vue index 94cefdaa..d9a41943 100644 --- a/src/App.vue +++ b/src/App.vue @@ -831,12 +831,8 @@ const onUninstallSuccess = () => { } }; -const installCompleteCallback = (pkgname?: string, status?: string) => { - if ( - currentApp.value && - (!pkgname || currentApp.value.pkgname === pkgname) && - status === "completed" - ) { +const installCompleteCallback = (pkgname?: string) => { + if (currentApp.value && (!pkgname || currentApp.value.pkgname === pkgname)) { checkAppInstalled(currentApp.value); } };