diff --git a/src/App.vue b/src/App.vue index d20ea8c..1328fa4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,7 +8,8 @@ import { Trash2, ArrowRightLeft, Loader2, - Check + Check, + FileText } from 'lucide-vue-next'; import { fetch } from '@tauri-apps/plugin-http'; import { useSettingsStore, LANGUAGES, DEFAULT_TEMPLATE } from './stores/settings'; @@ -20,7 +21,7 @@ function cn(...inputs: ClassValue[]) { } const settings = useSettingsStore(); -const view = ref<'translate' | 'settings'>('translate'); +const view = ref<'translate' | 'settings' | 'logs'>('translate'); // Translation State const sourceText = ref(''); @@ -149,17 +150,26 @@ const translate = async () => {
{{ typeof log.content === 'object' ? JSON.stringify(log.content, null, 2) : log.content }}
- {{ typeof log.content === 'object' ? JSON.stringify(log.content, null, 2) : log.content }}
+