Jelajahi Sumber

修复供应商主页商品不展示

zhengjinyi 1 bulan lalu
induk
melakukan
5c217ea6c9
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/main/resources/static/js/supplier/index.js

+ 2 - 2
src/main/resources/static/js/supplier/index.js

@@ -70,8 +70,8 @@ var supplierHome = new Vue({
                     _self.supplierInfo = data
                     _self.supplierBanner = data.shopHomeImages // 供应商轮播
                     _self.shopCategory = data.shopCategory// 供应商类别
-                    this.getMainProducts()
-                    this.getProductLists()
+                    _self.getMainProducts()
+                    _self.getProductLists()
                     setTimeout(function () {
                         if (isPC) {
                             $('#supplierBanner').slide({