1
0
Эх сурвалжийг харах

fix: grid form submit button locale switch (#5205)

Netfan 4 сар өмнө
parent
commit
68a7e790d8

+ 1 - 1
packages/effects/layouts/src/basic/layout.vue

@@ -152,7 +152,7 @@ watch(
 );
 
 // 语言更新后,刷新页面
-watch(() => preferences.app.locale, refresh);
+watch(() => preferences.app.locale, refresh, { flush: 'post' });
 
 const slots = useSlots();
 const headerSlots = computed(() => {