apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.3k stars 19.61k forks source link

[Bug] echarts Qn[o] is not a constructor #20383

Open bbhxwl opened 6 days ago

bbhxwl commented 6 days ago

Version

5.5.1

Link to Minimal Reproduction

http://

Steps to Reproduce

I debug locally and run it locally without any problems, but when I publish it to the server, I encounter this error. I don't know why?

image image
const chart = useTemplateRef("chart");
    <div ref="chart" class="w-full h-full" v-bind="$attrs"></div>

Current Behavior

I debug locally and run it locally without any problems, but when I publish it to the server, I encounter this error. I don't know why?

image image
const chart = useTemplateRef("chart");
    <div ref="chart" class="w-full h-full" v-bind="$attrs"></div>

Expected Behavior

I debug locally and run it locally without any problems, but when I publish it to the server, I encounter this error. I don't know why?

image image
const chart = useTemplateRef("chart");
    <div ref="chart" class="w-full h-full" v-bind="$attrs"></div>

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

plainheart commented 6 days ago

See if #19921 helps.