|
@@ -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
|
|
|
}
|
|
|
});
|
|
|
},
|