自营商家和合作商家入口分开,添加智能柜角色切换
This commit is contained in:
1 parent
e34cc2736c
commit
1a74921af9
5 files changed
+119
-96
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user