【功能修复】修复商品秒杀不选择规格提示库存不足的问题

pull/89/head
卢越 2024-08-26 17:44:37 +08:00
parent 4fef5c5f0e
commit 5e6adced12
1 changed files with 1 additions and 5 deletions

View File

@ -5,7 +5,7 @@
<!-- SKU 信息 -->
<view class="ss-modal-box bg-white ss-flex-col">
<view class="modal-header ss-flex ss-col-center">
<!-- 规格图 -->
<!-- 规格图 -->
<view class="header-left ss-m-r-30">
<image
class="sku-image"
@ -125,10 +125,6 @@
return skuPrices;
});
if (!state.goodsInfo.is_sku) {
state.selectedSku = state.goodsInfo.skus[0];
}
watch(
() => state.selectedSku,
(newVal) => {