wants to encapsulate Echarts as a component in Vue, which can be rendered simply by passing in the configuration through props, but now there is a Loading problem.
is to use the showLoading () display to load when the props has not been passed in, and when the rendering is finished, the closeLoading () closes the loading. But how can you tell if it has been rendered in the component?