fix: 修复在 toolbar 中的 form 值变化回显不正确的问题 (#8326)

This commit is contained in:
liaoxuezhi 2023-10-09 18:41:00 +08:00 committed by GitHub
parent 02ef3c96f3
commit 64397442c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -252,7 +252,7 @@ export function HocStoreFactory(renderer: {
props.store?.storeType === 'ComboStore'
? undefined
: syncDataFromSuper(
props.data,
store.data,
(props.data as any).__super,
(prevProps.data as any).__super,
store,

View File

@ -62,7 +62,8 @@ export default defineConfig({
}),
monacoEditorPlugin({}),
replace({
__editor_i18n: !!I18N
__editor_i18n: !!I18N,
preventAssignment: true
})
].filter(n => n),
optimizeDeps: {