mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-04-26 09:20:18 +08:00
fix:修复商店无法调起apm软件的问题
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user