mirror of
https://gitee.com/zongzhige/shopxo-uniapp.git
synced 2026-06-06 02:38:52 +08:00
分类页面获取购物车判断优化
This commit is contained in:
@ -1205,7 +1205,7 @@
|
||||
|
||||
// 获取购物车数据
|
||||
get_cart_data() {
|
||||
if (this.user != 2) {
|
||||
if (this.user != null) {
|
||||
uni.request({
|
||||
url: app.globalData.get_request_url('index', 'cart'),
|
||||
method: 'POST',
|
||||
|
||||
Reference in New Issue
Block a user