More easier way is to show and hide the loader in the action itself. Before the promise, setLoader as true. And in then and catch you can ...
確定! 回上一頁