Home > front end >  Vue element admin to switch to another Echarts graphics can't display properly?
Vue element admin to switch to another Echarts graphics can't display properly?

Time:09-19



Js code below



Why the first every graphics display properly and switch can't display normally, where is the problem???

CodePudding user response:

Change the window size can see into a normal (code to write a chart based on adaptive window change)

CodePudding user response:

Dynamic you can try to get a div width, rendering it feeling is adaptive problems

CodePudding user response:

reference 1 floor console. The log () response:
change the window size to see whether a normal (code to write a chart based on adaptive window change)
ok, I try

CodePudding user response:

refer to the second floor alone and wine with my colleague's reply:
dynamic you can try to get a div width, rendering it feeling is adaptive problems
ok, I'll check
  • Related