diff --git a/packages/effects/layouts/src/basic/layout.vue b/packages/effects/layouts/src/basic/layout.vue index 329508a1a40..abfb9add2cd 100644 --- a/packages/effects/layouts/src/basic/layout.vue +++ b/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(() => {