Commit b0cd451f authored by GuanHua's avatar GuanHua

feat:店铺获取参数问题

parent 7ee63c4b
......@@ -41,7 +41,7 @@
"copy-to-clipboard": "^3.3.1",
"god": "^0.1.27",
"lingxi-design": "^1.0.7",
"lingxi-design-ui": "^1.0.9",
"lingxi-design-ui": "^1.1.0",
"lingxi-editor-core": "^1.0.6",
"lingxi-web": "^1.0.6",
"lint-staged": "^10.0.7",
......
......@@ -120,6 +120,7 @@ export function onRouteChange({ routes, matchedRoutes, location, action }) {
// if (isDev) {
// return;
// }
if (whiteLists.includes(location.pathname)) {
return
}
......
......@@ -44,8 +44,8 @@ const LXShopLayout: React.FC<LXMallLayoutPropsType> = (props) => {
}, [])
useEffect(() => {
if (query.meberId) {
fetchShopInfo(query.meberId)
if (query.memberId) {
fetchShopInfo(query.memberId)
}
}, [query])
......@@ -81,7 +81,7 @@ const LXShopLayout: React.FC<LXMallLayoutPropsType> = (props) => {
{
layoutType: 'shop',
shopId: query.shopId,
memberId: query.meberId,
memberId: query.memberId,
shopUrlParam: shopId,
shopInfo
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment