feat:fix frontend .env

This commit is contained in:
2025-07-30 18:06:20 +08:00
parent 90ec3e5fc5
commit f39b1f0246
3 changed files with 7 additions and 4 deletions

View File

@@ -100,6 +100,7 @@ const { t } = useI18n();
const recipient = ref('');
const messages = ref([]);
const selectedMessage = ref(null);
const domain = import.meta.env.VITE_APP_DOMAIN;
if (import.meta.env.DEV) {
selectedMessage.value = {
@@ -112,11 +113,11 @@ if (import.meta.env.DEV) {
}
const loading = ref(false);
const copyStatus = ref('idle'); // 'idle' | 'copied'
const domain = import.meta.env.VITE_APP_DOMAIN;
const attachments = ref([]);
const attachmentsLoading = ref(false);
const newMailNotification = ref(false);
const renderedBody = computed(() => {
if (selectedMessage.value && selectedMessage.value.body) {
return marked(selectedMessage.value.body);