fix:修复商店无法调起apm软件的问题

This commit is contained in:
2026-03-11 16:08:51 +08:00
parent 19b96c93f6
commit 16f7b62491
4 changed files with 18 additions and 9 deletions

View File

@@ -223,7 +223,7 @@ const emit = defineEmits<{
(e: "resume", download: DownloadItem): void;
(e: "cancel", download: DownloadItem): void;
(e: "retry", download: DownloadItem): void;
(e: "open-app", download: string): void;
(e: "open-app", pkgname: string, origin?: "spark" | "apm"): void;
}>();
const close = () => {
@@ -248,7 +248,7 @@ const retry = () => {
const openApp = () => {
if (props.download) {
emit("open-app", props.download.pkgname);
emit("open-app", props.download.pkgname, props.download.origin);
}
};