Skip to content

Commit bbe4b3b

Browse files
committed
项目成员 - 添加
1 parent 6bfadbc commit bbe4b3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Coding_iOS/Controllers/ProjectViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ - (void)configNavBtnWithMyProject{
139139

140140
- (void)configRightBarButtonItemWithViewType:(ProjectViewType)viewType{
141141
UIBarButtonItem *navRightBtn = nil;
142-
if ((viewType == ProjectViewTypeMembers && [[Login curLoginUser].global_key isEqualToString:_myProject.owner_user_name])
142+
if ((viewType == ProjectViewTypeMembers && _myProject.current_user_role_id.integerValue >= 90)
143143
|| viewType == ProjectViewTypeTasks
144144
|| viewType == ProjectViewTypeTopics
145145
|| viewType == ProjectViewTypeFiles) {

0 commit comments

Comments
 (0)