Fix:2983 【商城小程序】被下架的商品在购物车中消失(改为前端数据保留,点击时提醒商品已下架或被删除)
This commit is contained in:
+1
-1
@@ -500,7 +500,7 @@ export default {
|
|||||||
const res = await getCartGroup()
|
const res = await getCartGroup()
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.isLoad = true
|
this.isLoad = true
|
||||||
this.list = res.data['valid']
|
this.list = res.data['valid'].concat(res.data['invalid'])
|
||||||
this.handleAll(false)
|
this.handleAll(false)
|
||||||
const _res = await getUserLike()
|
const _res = await getUserLike()
|
||||||
this.userLikeList = _res.data
|
this.userLikeList = _res.data
|
||||||
|
|||||||
Reference in New Issue
Block a user