mirror of
https://gitee.com/ShopeX/ECShopX_mobile-frontend
synced 2026-08-14 09:25:55 +08:00
bug: eCX-7321
This commit is contained in:
@@ -394,7 +394,7 @@ function SpSkuSelect(props) {
|
|||||||
const handleSubscribe = async() => {
|
const handleSubscribe = async() => {
|
||||||
const { subscribe } = info
|
const { subscribe } = info
|
||||||
const { dtid } = $instance.router.params
|
const { dtid } = $instance.router.params
|
||||||
console.log('onSubscribe:subscribe', subscribe)
|
// console.log('onSubscribe:subscribe', subscribe)
|
||||||
if (subscribe) return false
|
if (subscribe) return false
|
||||||
|
|
||||||
if (isWeb) {
|
if (isWeb) {
|
||||||
@@ -428,7 +428,7 @@ function SpSkuSelect(props) {
|
|||||||
})
|
})
|
||||||
if (curItem?.store <= 0) {
|
if (curItem?.store <= 0) {
|
||||||
return (
|
return (
|
||||||
<AtButton circle type='primary' onChange={handleSubscribe}>
|
<AtButton circle type='primary' onClick={handleSubscribe}>
|
||||||
{BUY_TOOL_BTNS().NOTICE.title}
|
{BUY_TOOL_BTNS().NOTICE.title}
|
||||||
</AtButton>
|
</AtButton>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user