增加log输出、跳转tab顺序

This commit is contained in:
super
2026-03-21 20:34:49 +08:00
parent 4b83bf76b4
commit 74a5fb9ce1
2 changed files with 14 additions and 2 deletions

View File

@@ -21,6 +21,17 @@ management:
db:
enabled: false
logging:
file:
path: ${AIIMAGE_LOG_PATH:./logs}
name: ${AIIMAGE_LOG_FILE:aiimage-backend.log}
level:
root: INFO
com.nanri.aiimage: INFO
pattern:
file: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n"
console: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n"
mybatis-plus:
mapper-locations: classpath*:mapper/**/*.xml
configuration:

View File

@@ -7,7 +7,8 @@
<nav class="nav-tabs">
<span class="nav-tab-group">
<a v-for="item in navItems" :key="item.key" :href="item.href" class="nav-tab" :class="{ active: active === item.key }">
<a v-for="item in navItems" :key="item.key" :href="item.href" class="nav-tab"
:class="{ active: active === item.key }">
{{ item.label }}
</a>
</span>
@@ -27,8 +28,8 @@ const active = props.active
const navItems = [
{ key: 'brand', label: '品牌检测', href: '/brand' },
{ key: 'dedupe', label: '数据去重', href: '/new_web_source/dedupe.html' },
{ key: 'convert', label: '格式转换', href: '/new_web_source/convert.html' },
{ key: 'split', label: '数据拆分', href: '/new_web_source/split.html' },
{ key: 'convert', label: '格式转换', href: '/new_web_source/convert.html' },
] as const
</script>