fix(echart): legend not work

This commit is contained in:
Vben
2021-03-27 00:04:36 +08:00
parent a98835e18b
commit b25ceb4201
7 changed files with 37 additions and 44 deletions

View File

@@ -17,7 +17,7 @@ export function getStorageShortName() {
export function getAppEnvConfig() {
const ENV_NAME = getConfigFileName(import.meta.env);
const ENV = ((isDevMode()
const ENV = ((import.meta.env.DEV
? // Get the global configuration (the configuration will be extracted independently when packaging)
((import.meta.env as unknown) as GlobEnvConfig)
: window[ENV_NAME as any]) as unknown) as GlobEnvConfig;