添加了修改头像的功能
This commit is contained in:
@ -47,7 +47,7 @@ Page({
|
||||
break;
|
||||
}
|
||||
this.setData({ showRole });
|
||||
if (options.role === 'manger') this.setData({isShowArr: [true, true, true]})
|
||||
if (options.role === 'manager') this.setData({isShowArr: [true, true, true]})
|
||||
else if (options.role === 'supervisor') this.setData({isShowArr: [false, true, true]})
|
||||
else if (options.role === 'staff') this.setData({isShowArr: [false, false, true]})
|
||||
const trueCount = this.data.isShowArr.filter(v => v === true).length;
|
||||
|
Reference in New Issue
Block a user