zhaoxiaohai 3 년 전
부모
커밋
0dfa0d3f92
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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()
         })