Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个过滤器正在过滤某些操作。如果这是必需的操作,我需要渲染它并查看它的响应(json)。我如何调用它并查看响应是否包含错误?
谢谢,
你试过afterView吗?
afterView
afterView - 在视图渲染后执行。将异常作为参数,如果在处理期间发生异常,则该参数将为非空。注意:在应用布局之前调用此闭包
更多关于文档。