Explorar el Código

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

Netfan hace 9 meses
padre
commit
68a7e790d8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/effects/layouts/src/basic/layout.vue

+ 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(() => {