第三方app跳转

This commit is contained in:
weiwei committed 2025-05-14 11:53:09 +08:00
1 parent 06f5ebd9be
commit dee8d2e21f
6 files changed
+81 -27

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
// 获取启动参数
const getLaunchParam = (): "canteen" | "selfMerchant" | "coopMerchant" | null => {
return new URL(window.location.href).searchParams.get("launchParam") as "canteen" | "selfMerchant" | "coopMerchant" | null
const getLaunchParam = (): "canteen" | "selfMerchant" | "coopMerchant" | "thirdApp" | null => {
return new URL(window.location.href).searchParams.get("launchParam") as "canteen" | "selfMerchant" | "coopMerchant" | "thirdApp" | null
}
export default getLaunchParam