diff --git a/pages/user/cartlist/list.js b/pages/user/cartlist/list.js index ddd0c1c..5ee79aa 100644 --- a/pages/user/cartlist/list.js +++ b/pages/user/cartlist/list.js @@ -83,11 +83,13 @@ Page({ let index = e.currentTarget.dataset.index, list = this.data.list; if (list[index].product.flag != 1 || list[index].sku.flag != 'on') { - wx.showToast({ - title: '产品已下架', - icon: 'none' - }) - return; + if (!this.data.manageFlag) { + wx.showToast({ + title: '产品已下架', + icon: 'none' + }) + return; + } } list[index].checked = list[index].checked ? false : true; this.setData({