Browse Source

feat:注释调试

master
zhaobing’ 1 year ago
parent
commit
96c88a1d60
  1. 2
      weapp/custom-tab-bar/index.js

2
weapp/custom-tab-bar/index.js

@ -9,7 +9,7 @@ Component({
let userRole = wx.getStorageSync('userRole');
// 0 表示普通用户 1表示管理员
console.log('userRole', userRole);
if (userRole && userRole.includes('巡检')) {
if (userRole && userRole.includes('管理')) {
this.setData({
list: getApp().globalData.managerList
})

Loading…
Cancel
Save