From e764dfd2fe0ba2a623af2854d4933b4c69dfe724 Mon Sep 17 00:00:00 2001 From: spllzh <28668817@qq.com> Date: Sun, 10 Aug 2025 18:40:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=A1=B5=E9=9D=A2=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Navbar.vue | 10 +++++----- src/views/login/index.vue | 17 +++++++---------- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 0ca5cf6..0a92d50 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -13,17 +13,17 @@ - Home + 首页 - - Github + + 公司官网 - Docs + AI知识库系统 - Log Out + 登出 diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 1db2464..7327b85 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -3,7 +3,7 @@
-

Login Form

+

AI平台登录

@@ -13,7 +13,7 @@ - Login + 登录 + -
- username: admin - password: any -
@@ -60,14 +57,14 @@ export default { data() { const validateUsername = (rule, value, callback) => { if (!validUsername(value)) { - callback(new Error('Please enter the correct user name')) + callback(new Error('请输入用户名')) } else { callback() } } const validatePassword = (rule, value, callback) => { if (value.length < 6) { - callback(new Error('The password can not be less than 6 digits')) + callback(new Error('密码不能小于6位')) } else { callback() }