Explorar o código

商城最近访问的店铺 显示不同的店铺

jf %!s(int64=5) %!d(string=hai) anos
pai
achega
c1f9d18236
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      mallApp/src/pages/home/index.vue

+ 2 - 1
mallApp/src/pages/home/index.vue

@@ -63,7 +63,8 @@ export default {
   onLoad (option) {},
   mounted () { },
   onShow () {
-    uni.hideTabBar()
+    uni.hideTabBar();
+    this.init();
   },
   methods: {
     init () {