소스 검색

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

Netfan 9 달 전
부모
커밋
68a7e790d8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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(() => {