Fix:3862 【商城小程序】已下架的商品增加勾选限制

This commit is contained in:
linxi
2025-07-30 14:36:17 +08:00
parent 615f7d9064
commit 6390bec944
+2 -2
View File
@@ -157,7 +157,7 @@
>
<view class="v12-align-center">
<CheckboxIcon
v-if="good['truePrice'] !== null"
v-if="good['truePrice'] !== null || isEdit"
:default-state="good['state']"
:mark="[index, gIndex]"
style="margin-right: 24rpx;"
@@ -569,7 +569,7 @@ export default {
this.list = this.list.map(item => {
item.state = state
item.carts = item.carts.map(good => {
good.state = state
good.state = item.isInvalid && !this.isEdit ? false : state
return good
})
return item