bug(custom): eCX-7430

This commit is contained in:
zhangjing1
2025-10-27 11:47:05 +08:00
parent dce51880be
commit cedee5d217
2 changed files with 8 additions and 7 deletions

View File

@@ -22,6 +22,7 @@ function SpFloatLayout(props) {
className={classNames('sp-float-layout', className, {
active: open
})}
catchMove
>
<View className='sp-float-layout__overlay' onClick={onClose}></View>
<View className='sp-float-layout__body'>

View File

@@ -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