diff --git a/web/src/App.vue b/web/src/App.vue index 5cc4ce0..e19767f 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -13,14 +13,9 @@ import { RouterView } from "vue-router"; import { onMounted } from "vue"; const osThemeRef = useOsTheme() -const theme = defineModel('theme') -theme.value = osThemeRef.value === 'dark' ? darkTheme : lightTheme - -const locale = defineModel('locale') -locale.value = navigator.language === "zh-CN" ? zhCN : enUS - -const dateLocale = defineModel('dateLocale') -dateLocale.value = navigator.language === "zh-CN" ? dateZhCN : dateEnUS +const theme = osThemeRef.value === 'dark' ? darkTheme : lightTheme +const locale = navigator.language === "zh-CN" ? zhCN : enUS +const dateLocale = navigator.language === "zh-CN" ? dateZhCN : dateEnUS onMounted(() => { document.title = 'reCoreD-UI' diff --git a/web/src/components/domains/DomainEditModal.vue b/web/src/components/domains/DomainEditModal.vue index eb13a4d..bbf728b 100644 --- a/web/src/components/domains/DomainEditModal.vue +++ b/web/src/components/domains/DomainEditModal.vue @@ -1,89 +1,103 @@ \ No newline at end of file diff --git a/web/src/components/domains/DomainRemoveModal.vue b/web/src/components/domains/DomainRemoveModal.vue index 7420fd3..03d329e 100644 --- a/web/src/components/domains/DomainRemoveModal.vue +++ b/web/src/components/domains/DomainRemoveModal.vue @@ -1,6 +1,6 @@