Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
wushuangs committed Nov 8, 2024
1 parent 701e830 commit b486a86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/frontend/src/components/BasicWindow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export default defineComponent({
},
setup(props, context) {
const { t } = useI18n();
const { t, locale } = useI18n();
const value = ref(props.modelValue);
const h_close = ref(false);
const h_min = ref(false);
Expand All @@ -184,7 +184,6 @@ export default defineComponent({
const isFull = ref(false);
const clickNew = ref(false);
const $q = useQuasar();
const { locale } = useI18n();
const app_icon: string = value.value.icon;
Expand Down Expand Up @@ -286,7 +285,8 @@ export default defineComponent({
watch(
() => locale,
() => {
(newVal) => {
console.log('local newVal', locale);
iframeRef.value.contentWindow.postMessage(
{
message: 'theme_update',
Expand Down

0 comments on commit b486a86

Please sign in to comment.