diff --git a/src/components/sp-float-layout/index.js b/src/components/sp-float-layout/index.js index 9faee11ff..8b951d5e5 100644 --- a/src/components/sp-float-layout/index.js +++ b/src/components/sp-float-layout/index.js @@ -22,6 +22,7 @@ function SpFloatLayout(props) { className={classNames('sp-float-layout', className, { active: open })} + catchMove > diff --git a/src/subpages/store/item-list.js b/src/subpages/store/item-list.js index d0eda62fd..45e051089 100644 --- a/src/subpages/store/item-list.js +++ b/src/subpages/store/item-list.js @@ -62,13 +62,13 @@ function StoreItemList() { useEffect(() => {}, []) - useEffect(() => { - if (skuPanelOpen) { - pageRef.current.pageLock() - } else { - pageRef.current.pageUnLock() - } - }, [skuPanelOpen]) + // useEffect(() => { + // if (skuPanelOpen) { + // pageRef.current.pageLock() + // } else { + // pageRef.current.pageUnLock() + // } + // }, [skuPanelOpen]) const fetch = async ({ pageIndex, pageSize }) => { const { cat_id, main_cat_id, dtid } = $instance.router.params