2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 03:07:20 +08:00

fix: 修正日志样式

This commit is contained in:
2026-01-13 03:00:47 +08:00
parent b341eddd04
commit 9fc3c70b9b
2 changed files with 11 additions and 11 deletions

View File

@@ -12,6 +12,7 @@ export function translateTitle(key: string): string {
Files: $gettext('Files'),
Firewall: $gettext('Firewall'),
Home: $gettext('Home'),
Logs: $gettext('Logs'),
Monitoring: $gettext('Monitoring'),
Project: $gettext('Project'),
Setting: $gettext('Setting'),

View File

@@ -17,17 +17,16 @@ const activeTab = ref('operation')
<template>
<common-page show-header show-footer>
<n-tabs v-model:value="activeTab" type="line" animated>
<n-tab-pane name="operation" :tab="$gettext('Operation Log')">
<OperationLog />
</n-tab-pane>
<n-tab-pane name="database" :tab="$gettext('Database Log')">
<DatabaseLog />
</n-tab-pane>
<n-tab-pane name="http" :tab="$gettext('HTTP Log')">
<HttpLog />
</n-tab-pane>
</n-tabs>
<template #tabbar>
<n-tabs v-model:value="activeTab" animated>
<n-tab name="operation" :tab="$gettext('Operation Log')" />
<n-tab name="database" :tab="$gettext('Database Log')" />
<n-tab name="http" :tab="$gettext('HTTP Log')" />
</n-tabs>
</template>
<operation-log v-if="activeTab === 'operation'" />
<database-log v-if="activeTab === 'database'" />
<http-log v-if="activeTab === 'http'" />
</common-page>
</template>