How to cancel loading? when an error occurs in a dva request

The loading effect is handled uniformly in

dva, but loading cannot be cancelled when an error occurs in the request. What should I do?


when catch arrives abnormal, the dispatch loading action is fine.
action name: @ @ DVA_LOADING/HIDE

Menu