From a36de2a232aa4e791bfafb29b8141858d24a67f6 Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期五, 28 八月 2026 11:39:20 +0800
Subject: [PATCH] feat: 登录行为验证码支持配置跳过(app.captcha.required,测试阶段关闭,正式发布开启)
---
traffic-audit-web/src/views/Dashboard.vue | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/traffic-audit-web/src/views/Dashboard.vue b/traffic-audit-web/src/views/Dashboard.vue
index 7074186..8e72c44 100644
--- a/traffic-audit-web/src/views/Dashboard.vue
+++ b/traffic-audit-web/src/views/Dashboard.vue
@@ -1,6 +1,6 @@
<template>
- <el-container>
- <el-header>浜ら�氱粺璁℃姤琛ㄥ鏍哥郴缁� - 宸ヤ綔鍙�</el-header>
+ <el-container direction="vertical">
+ <app-header title="浜ら�氱粺璁℃姤琛ㄥ鏍哥郴缁� - 宸ヤ綔鍙�"></app-header>
<el-container>
<el-aside width="200px">
<el-menu router default-active="/dashboard">
@@ -11,9 +11,7 @@
<el-menu-item index="/audit">瀹℃牳缁撴灉</el-menu-item>
<el-menu-item index="/report">鎶ヨ〃鐢熸垚</el-menu-item>
<el-menu-item index="/rules">瑙勫垯绠$悊</el-menu-item>
- <el-menu-item index="/users">鐢ㄦ埛绠$悊</el-menu-item>
- <el-menu-item index="/login" @click="logout">閫�鍑虹櫥褰�</el-menu-item>
-</el-menu>
+ <el-menu-item index="/users">鐢ㄦ埛绠$悊</el-menu-item></el-menu>
</el-aside>
<el-main>
<div class="page-scroll">
@@ -38,9 +36,10 @@
</el-container>
</template>
<script>
-export default { name: 'Dashboard' }
+import AppHeader from '@/components/AppHeader.vue'
+export default {
+ components: { AppHeader }, name: 'Dashboard' }
</script>
<style scoped>
-.el-header { background: #409EFF; color: white; line-height: 60px; font-size: 18px; }
.stat-num { font-size: 36px; color: #409EFF; }
</style>
\ No newline at end of file
--
Gitblit v1.9.1