add
This commit is contained in:
parent
31cce22ba3
commit
bd39369d24
|
@ -62,7 +62,8 @@
|
||||||
<u-icon name="trash" style='margin-right: 8rpx;'></u-icon> 删除
|
<u-icon name="trash" style='margin-right: 8rpx;'></u-icon> 删除
|
||||||
</view>
|
</view>
|
||||||
<view class="" style="display: flex;align-items: center;">
|
<view class="" style="display: flex;align-items: center;">
|
||||||
<u-switch v-model="item.is_use" type='primaryy' activeColor="#38BE41" size="19"></u-switch>
|
<u-switch :disabled='attrValue.length==1' v-model="item.is_use" type='primaryy'
|
||||||
|
activeColor="#38BE41" size="19"></u-switch>
|
||||||
<text style="margin-left: 8rpx;color: #777777;">启用</text>
|
<text style="margin-left: 8rpx;color: #777777;">启用</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
@ -880,7 +880,6 @@
|
||||||
that.getProductTitle()
|
that.getProductTitle()
|
||||||
})
|
})
|
||||||
.catch(rej => {
|
.catch(rej => {
|
||||||
|
|
||||||
this.$set(this, 'num', -1);
|
this.$set(this, 'num', -1);
|
||||||
Toast(`${rej}, 删除失败`);
|
Toast(`${rej}, 删除失败`);
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue