自营商家和合作商家入口分开,添加智能柜角色切换

This commit is contained in:
weiwei committed 2025-04-22 18:31:18 +08:00
1 parent e34cc2736c
commit 1a74921af9
5 files changed
+119 -96

No files matched your search

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