Fix:3862 【商城小程序】已下架的商品增加勾选限制
This commit is contained in:
+2
-2
@@ -157,7 +157,7 @@
|
|||||||
>
|
>
|
||||||
<view class="v12-align-center">
|
<view class="v12-align-center">
|
||||||
<CheckboxIcon
|
<CheckboxIcon
|
||||||
v-if="good['truePrice'] !== null"
|
v-if="good['truePrice'] !== null || isEdit"
|
||||||
:default-state="good['state']"
|
:default-state="good['state']"
|
||||||
:mark="[index, gIndex]"
|
:mark="[index, gIndex]"
|
||||||
style="margin-right: 24rpx;"
|
style="margin-right: 24rpx;"
|
||||||
@@ -569,7 +569,7 @@ export default {
|
|||||||
this.list = this.list.map(item => {
|
this.list = this.list.map(item => {
|
||||||
item.state = state
|
item.state = state
|
||||||
item.carts = item.carts.map(good => {
|
item.carts = item.carts.map(good => {
|
||||||
good.state = state
|
good.state = item.isInvalid && !this.isEdit ? false : state
|
||||||
return good
|
return good
|
||||||
})
|
})
|
||||||
return item
|
return item
|
||||||
|
|||||||
Reference in New Issue
Block a user