mirror of
https://gitee.com/ShopeX/ECShopX_mobile-frontend
synced 2026-08-14 17:41:45 +08:00
兼容单规格数据
This commit is contained in:
@@ -67,12 +67,13 @@ function SpSkuSelect(props) {
|
||||
draft.curItem = null
|
||||
draft.skuText = ''
|
||||
draft.minNum = specItemed()
|
||||
draft.num = specItemed()
|
||||
})
|
||||
}
|
||||
}, [info])
|
||||
|
||||
useEffect(() => {
|
||||
if(open){
|
||||
if(!open){
|
||||
setState((draft) => {
|
||||
draft.num = 1
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user