fix: 修复miniEditor应用国际化不生效问题 (#9620)

* fix: 修复miniEditor应用国际化不生效问题

* fix: 保证语言更新后能重新渲染

---------

Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>
This commit is contained in:
qkiroc 2024-02-20 19:12:13 +08:00 committed by GitHub
parent 997e1bb864
commit cbc1797287
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -53,6 +53,7 @@ export default class MiniEditor extends Editor {
theme={theme}
data={data}
autoFocus={autoFocus}
appLocale={this.props.appLocale}
></Preview>
</div>
</div>

View File

@ -191,7 +191,8 @@ export function AutoFilterForm({
autoGenerateFilter,
activedSearchableColumns,
searchableColumns,
searchFormExpanded
searchFormExpanded,
__ // 保证语言更新后能重新渲染
]);
return render('searchable-form', schema, {