Home > front end > Vue request interface, slowly to render a page after get the data?
Vue request interface, slowly to render a page after get the data?
Time:12-26
I use vue debug back-end interface, interface status code returned soon, almost is less than 1 second, the data is in the console can print directly to the, but the interface response is waiting for a long time to have the data, by rights I can print to the data after the status code returned, rendering the page, but you can't wait to long time after the response has data to render a page, the data quantity is not big, paging operation, a page to load 20 data, optimization methods have no great god have?
I said baidu to a blog is the front question:
CodePudding user response:
Data is returned, the estimate is for data processing of code you write there is a problem, this depends on your specific code analysis