From be960702c50362f7eaf58365f7f68716adf89870 Mon Sep 17 00:00:00 2001 From: huaiyuan <1029848564@qq.com> Date: Fri, 8 Nov 2024 19:45:22 +0800 Subject: [PATCH] fix: test --- packages/frontend/src/components/BasicWindow.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/components/BasicWindow.vue b/packages/frontend/src/components/BasicWindow.vue index 950ccf2..c00af73 100644 --- a/packages/frontend/src/components/BasicWindow.vue +++ b/packages/frontend/src/components/BasicWindow.vue @@ -284,9 +284,9 @@ export default defineComponent({ // }; watch( - () => locale, + () => locale.value, (newVal) => { - console.log('local newVal', locale); + console.log('local newVal', newVal); iframeRef.value.contentWindow.postMessage( { message: 'theme_update',