分类页面获取购物车判断优化

This commit is contained in:
gongfuxiang
2025-01-08 09:47:03 +08:00
parent 66f09c93f6
commit bf260a6648

View File

@ -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',