mirror of
https://github.com/apache/superset.git
synced 2026-07-19 21:25:38 +00:00
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:
committed by
GitHub
parent
90f9238f8a
commit
beb9d53687
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user