Skip to content

Commit

Permalink
Merge pull request #7 from EvanYuFeng/dev
Browse files Browse the repository at this point in the history
@dev:修复警告
  • Loading branch information
EvanYuFeng authored Mar 8, 2021
2 parents 8359912 + 1b76f3a commit 72540b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion YFRouter/Classes/manager/YFUrlComponent.m
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ -(void)yf_addSubComponent:(YFUrlComponent *)subComponent{

-(void)yf_addParmasKey:(NSArray<NSString *>*)paramsKey{
if (self.yf_paramKeys) return YFLog(@" you are tring to regist a same url in same time");
self.yf_paramKeys = paramsKey;
self.yf_paramKeys = [NSMutableArray arrayWithArray:paramsKey] ;
}

@end

0 comments on commit 72540b1

Please sign in to comment.