Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/plugins/materials/src/composable/useResource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ export default () => {
transformMixedEsModules: true
},
cssCodeSplit: false
}
},
base: './'
})`

return res
Expand Down