@@ -30,6 +30,9 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad(options) {
+ console.log("12312", wx.getStorageSync('userauth'))
+ let auth = getApp().globalData.queryPer.query(wx.getStorageSync('userauth'), ['营销工具'], ['通告', '推广素材', '商学院', '提报']);
+ console.log(auth)
this.refreshData(wx.getStorageSync('userMsg'))
this.setData({ //获取胶囊位置信息
capsule: wx.getMenuButtonBoundingClientRect()