fix: 🐛 补充提交购物车多次点击提交bug
parent
ec692e1134
commit
c04ae5eb39
|
@ -90,7 +90,7 @@
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<!-- #ifdef MP-WEIXIN -->
|
<!-- #ifdef MP-WEIXIN -->
|
||||||
<u-number-box class="uNumber" :min="1" input-width="70" input-height="40" size="20"
|
<u-number-box class="uNumber" :min="1" input-width="70" input-height="40" size="20"
|
||||||
:value="skuItem.num" @change="numChange(skuItem)"></u-number-box>
|
v-model="skuItem.num" @change="numChange(skuItem)"></u-number-box>
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
</view>
|
</view>
|
||||||
<!-- 如果当有促销并且促销是 限时抢购 -->
|
<!-- 如果当有促销并且促销是 限时抢购 -->
|
||||||
|
@ -371,6 +371,7 @@ export default {
|
||||||
* 点击步进器回调
|
* 点击步进器回调
|
||||||
*/
|
*/
|
||||||
numChange: debounce(function (val, nums) {
|
numChange: debounce(function (val, nums) {
|
||||||
|
console.log(val, nums)
|
||||||
// 需要防抖的内容
|
// 需要防抖的内容
|
||||||
// #ifdef MP-WEIXIN
|
// #ifdef MP-WEIXIN
|
||||||
if (nums && nums == "1") {
|
if (nums && nums == "1") {
|
||||||
|
|
Loading…
Reference in New Issue