zhaoxiaohai 3 years ago
parent
commit
0dfa0d3f92
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/tabbar/home/index.js

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

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