Home > front end >  After deleting the front-end in data loading flash
After deleting the front-end in data loading flash

Time:12-07

Because global encapsulates the request to the backend data loading, click delete now needs to be on the back end pull data refresh list, how to make loading,

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 loading

CodePudding 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 yourself

CodePudding 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:

refer to fifth floor bath _ fire phoenix reply:
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 interfaces in the array without loading request
is normal logic, flash products to see the user experience is don't like him,
  • Related