fix(plugin-chart-echarts): use echarts 5.6.0 i18n export path for locale import (#42055)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Elizabeth Thompson
2026-07-15 11:45:14 -07:00
committed by GitHub
parent 90f9238f8a
commit beb9d53687

View File

@@ -124,7 +124,7 @@ use([
const loadLocale = async (locale: string) => {
let lang;
try {
lang = await import(`echarts/lib/i18n/lang${locale}`);
lang = await import(`echarts/i18n/lang${locale}.js`);
} catch {
// Locale not supported in ECharts
}