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