Vue ssr uses elementui, to use the el-select component's page refresh call stack overflow

vue ssr rendering, using element-ui as the ui library. For a page that uses the el-select component library, there is no problem with entering it for the first time, but when it is refreshed, there will be a call stack overflow:

Vue:

there is no special code, pure client-side rendering is no problem (refresh is also no problem), do not know all kinds of gods can encounter similar problems, ask for advice

Feb.28,2021

how did you introduce element


how did you introduce elment-ui? Is there a tutorial?


since there is no problem with client rendering, the problem lies in the data obtained by the server. You might as well console whether the data obtained meets the requirements

.
Menu