mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 19:52:51 +00:00
feat: support reset locale config
This commit is contained in:
parent
239bb29de1
commit
8ac68b982b
@ -62,6 +62,11 @@ export default class DesignerPlugin extends PureComponent<PluginProps, DesignerP
|
||||
if (!this._mounted) {
|
||||
return;
|
||||
}
|
||||
engineConfig.onGot('locale', (locale) => {
|
||||
this.setState({
|
||||
locale,
|
||||
});
|
||||
});
|
||||
const { components, packages, extraEnvironment, utils } = assets;
|
||||
const state = {
|
||||
componentMetadatas: components || [],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user