CodePudding user response:
How to make loading not blink,,,,,,,CodePudding user response:
For the parameters in the past, do judgment in the interceptor,ReqData={https://bbs.csdn.net/topics/loading: false,... }
If (the req. Data. Loading) {
$(' loading '). The show ()
//other loading effects show
}
CodePudding user response:
Flash API request response time is too fast, so, want to make a delay a little bit more simple in response to the closed loading, unified configuration 1-2 seconds after the destruction of loadingCodePudding user response:
Want to see you that controls specific loading trigger code, what are you trying to write a need not he encapsulate code, data loading by yourselfCodePudding user response:
A loading is normal business logic, and what the devil is not flash?If you have a loading is added in the global
Then change to a loading switch or to your white list URL array
All in this array interface request without loading,
CodePudding user response: