【功能修复】修复商品秒杀不选择规格提示库存不足的问题
parent
4fef5c5f0e
commit
5e6adced12
|
@ -5,7 +5,7 @@
|
||||||
<!-- SKU 信息 -->
|
<!-- SKU 信息 -->
|
||||||
<view class="ss-modal-box bg-white ss-flex-col">
|
<view class="ss-modal-box bg-white ss-flex-col">
|
||||||
<view class="modal-header ss-flex ss-col-center">
|
<view class="modal-header ss-flex ss-col-center">
|
||||||
<!-- 规格图 -->
|
<!-- 规格图片 -->
|
||||||
<view class="header-left ss-m-r-30">
|
<view class="header-left ss-m-r-30">
|
||||||
<image
|
<image
|
||||||
class="sku-image"
|
class="sku-image"
|
||||||
|
@ -125,10 +125,6 @@
|
||||||
return skuPrices;
|
return skuPrices;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!state.goodsInfo.is_sku) {
|
|
||||||
state.selectedSku = state.goodsInfo.skus[0];
|
|
||||||
}
|
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
() => state.selectedSku,
|
() => state.selectedSku,
|
||||||
(newVal) => {
|
(newVal) => {
|
||||||
|
|
Loading…
Reference in New Issue