typedef void(^BAAlert_ButtonActionBlock)(NSInteger index); 是不是可以多加个参数BAAlert对象? typedef void(^BAAlert_ButtonActionBlock)(BAAlert alert, NSInteger index); 这样就不用都去设置一个全局的BAAlert对象