fix: compact javaBackEnd isDemo and globalState field (#1251)

This commit is contained in:
xuanlid 2025-03-26 05:19:23 -07:00 committed by GitHub
parent 40df6ee51c
commit 47d013a18d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -143,8 +143,8 @@ const fetchAppState = async () => {
appSchemaState.bridge = appData.bridge
appSchemaState.utils = appData.utils
appSchemaState.isDemo = appData.meta?.is_demo
appSchemaState.globalState = appData?.meta.global_state
appSchemaState.isDemo = appData?.meta?.isDemo || appData?.meta?.is_demo
appSchemaState.globalState = appData?.meta?.globaState || appData?.meta?.global_state
// 词条语言为空时使用默认的语言
const defaultLocales = [

View File

@ -24,7 +24,8 @@ export default () => {
transformMixedEsModules: true
},
cssCodeSplit: false
}
},
base: './'
})`
return res