mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
fix: 修复多语言切换未实时同步问题
This commit is contained in:
parent
aad00bb919
commit
86d3e0c74f
@ -325,7 +325,7 @@ function AMISRenderer({
|
||||
env.replaceTextIgnoreKeys
|
||||
);
|
||||
return schema;
|
||||
}, [schema, locale]);
|
||||
}, [schema, locale, options.replaceText]);
|
||||
|
||||
return (
|
||||
<EnvContext.Provider value={env}>
|
||||
|
Loading…
Reference in New Issue
Block a user