狸车宝
This commit is contained in:
@@ -18,7 +18,7 @@ Component({
|
||||
lifetimes: {
|
||||
//在组件实例进入页面节点树时执行
|
||||
attached: function () {
|
||||
if(app.getStorageByKey("userInfo").group_id==2){
|
||||
if(app.getStorageByKey("userInfo").group_id==4){
|
||||
this.setData({
|
||||
isAdmin:true,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user