Browse Source

供应商主页修改

zhengjinyi 1 year ago
parent
commit
c653038033

+ 3 - 6
src/main/resources/static/js/supplier-center/shop/mixins/categoryMixins.js

@@ -42,13 +42,10 @@ const categoryMixins = function () {
                 const _this = this;
                 SupplierApi.getShopProductList(this.listQuery, function (res) {
                     if (res.code === 0) {
-                        console.log(res);
                         const data = res.data
-                        if (data.results.length > 0) {
-                            _this.list = data.results
-                            _this.total = data.totalRecord
-                            _this.isLoading = false
-                        }
+                        _this.list = data.results
+                        _this.total = data.totalRecord
+                        _this.isLoading = false
                     }
                 });
             },