fix:商品详情添加参数、保障判断条件

pull/8/head
kele 2023-03-03 13:50:49 +08:00
parent 79c361db2e
commit d024509a0f
2 changed files with 9 additions and 3 deletions

View File

@ -179,7 +179,13 @@
"postcss" : true
},
"optimization" : {
"subPackages" : true //
"subPackages" : true
},
"plugins" : {
"live-player-plugin" : {
"version" : "1.3.5",
"provider" : "wx2b03c6e691cd7370"
}
},
"lazyCodeLoading" : "requiredComponents",
"usingComponents" : {},

View File

@ -77,8 +77,8 @@
:skus="state.goodsInfo.skus"
@tap="state.showSelectSku = true"
/>
<detail-cell-service v-model="state.goodsInfo.service" />
<detail-cell-params v-model="state.goodsInfo.params" />
<detail-cell-service v-if="state.goodsInfo.service" v-model="state.goodsInfo.service" />
<detail-cell-params v-if="state.goodsInfo.params" v-model="state.goodsInfo.params" />
</view>
<!-- 规格与数量弹框 -->