zhaoxiaohai há 3 anos atrás
pai
commit
0dfa0d3f92
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      pages/tabbar/home/index.js

+ 1 - 1
pages/tabbar/home/index.js

@@ -20,7 +20,7 @@ Page({
      * 生命周期函数--监听页面加载
      */
     onLoad(options) {
-        this.refreshData(wx.getStorageSync('userMsg'))
+        this.refreshData(wx.getStorageSync('userMsg')) //更新权限等信息
         this.setData({ //获取胶囊位置信息
             capsule: wx.getMenuButtonBoundingClientRect()
         })