Element ui tabs tab bug


element uiui

:

add 1:
I later commented out < component > < / component > dynamic mount components, and there was no problem. But I don"t see where there is bugmuri in my code.

add 2:
through debugging, I have located the problem now, because there is a page with echarts component, it is no problem to comment out the echarts-related code, but why does echarts affect the opening of the tabs tag? I still can"t find the reason

Mar.02,2021

I have also encountered the case of type, because the version of vue is not compatible with element ui. Can you make sure that your version of vue is consistent with element ui?


it's best to code


to add the rendering of each compontent to Vmuri if = "defaultActive = = tab.name". El-tab-pane will render all the components under tab at the beginning, except that display is none. Is there a problem with the rendering of the echarts component in the case of display:none? Pure guess

Menu