Home > front end >  Vue eachrt in called when selecting a date how to realize the dynamic refresh data interface
Vue eachrt in called when selecting a date how to realize the dynamic refresh data interface

Time:11-27

Vue eachrt in selecting a date called when data interface
How to realize the dynamic refresh

CodePudding user response:

CodePudding user response:

If you mean to change date range when the immediate response, you can add a Watch, and then call interface, change fill data, can refresh chart

If you mean to select a date range after the same, want to have the possibility of data change instantly refresh, that you may need to add a timer; setInterval

CodePudding user response:

refer to the second floor bubble fish _ response:
if you mean to change date range when the immediate response, you can add a Watch, and then call interface, change fill data, can refresh chart

If you mean to select a date range after the same, want to have the possibility of data change instantly refresh, that you may need to add a timer; SetInterval

I will try to thank you

CodePudding user response:

There should be a onchange event date selection, to the request and modify data in the event
  • Related