__weaktypeof(self) weakSelf =self;
[WM_NetworkServicegetDepartWithBlock:^(NSDictionary*result,NSError*error) {
NSLog(@"%@",result);
weakSelf.OperateNameArray= [NSMutableArrayarrayWithCapacity:0];
weakSelf.OperateInfoArray= [NSMutableArrayarrayWithCapacity:0];
for(NSDictionary*dicinresult[@"result"]) {
//NSString *str = dic[@"COM_NAME"];
NSString*str = [WM_SingledefaultSingle].INFO_USER;
StoreModel*model = [[StoreModelalloc]initWithDataDic:dic];
[weakSelf.OperateInfoArrayaddObject:model];
[weakSelf.OperateNameArrayaddObject:str];
}
_popView= [[PopoverViewalloc]initWithPoint:CGPointMake(251,245-juli)titles:self.OperateNameArrayimages:nil];
_popView.selectRowAtIndex= ^(NSIntegerindex){
StoreModel*model = weakSelf.OperateInfoArray[index];
//header.OperatorLabel.text = model.COM_NAME;
//weakSelf成员变量添加weakSelf弱引用
weakSelf.DEP_ID= model.DEP_ID;
//COM_NAME = model.COM_NAME;
【block弱引用】};