diff --git a/INSTALL.md b/INSTALL.md index 4bb8e14b..4c94d16d 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -59,7 +59,7 @@ cat查看之后返回的结果类似如下字段 # admin即为登录名;Xb-ZYP526wmg4_h6q1WqIO为登录密码 ``` -输入此处记录的`username`及`password`,即可成功登陆qinglong面板,登陆后即可正常使用 +输入此处记录的`username`及`password`,即可成功登录qinglong面板,登录后即可正常使用 ## 拉取脚本 ```bash diff --git a/back/services/user.ts b/back/services/user.ts index 22b55e33..91f0b2d7 100644 --- a/back/services/user.ts +++ b/back/services/user.ts @@ -116,10 +116,10 @@ export default class UserService { isTwoFactorChecking: false, }); await this.notificationService.notify( - '登陆通知', + '登录通知', `你于${new Date(timestamp).toLocaleString()}在 ${address} ${ req.platform - }端 登陆成功,ip地址 ${ip}`, + }端 登录成功,ip地址 ${ip}`, ); await this.getLoginLog(); await this.insertDb({ @@ -145,10 +145,10 @@ export default class UserService { platform: req.platform, }); await this.notificationService.notify( - '登陆通知', + '登录通知', `你于${new Date(timestamp).toLocaleString()}在 ${address} ${ req.platform - }端 登陆失败,ip地址 ${ip}`, + }端 登录失败,ip地址 ${ip}`, ); await this.getLoginLog(); await this.insertDb({ diff --git a/src/pages/setting/index.tsx b/src/pages/setting/index.tsx index efacb1ae..badfd4a4 100644 --- a/src/pages/setting/index.tsx +++ b/src/pages/setting/index.tsx @@ -348,7 +348,7 @@ const Setting = ({ - + diff --git a/src/pages/setting/loginLog.tsx b/src/pages/setting/loginLog.tsx index b7cd1c59..506ef768 100644 --- a/src/pages/setting/loginLog.tsx +++ b/src/pages/setting/loginLog.tsx @@ -25,7 +25,7 @@ const columns = [ }, }, { - title: '登陆时间', + title: '登录时间', dataIndex: 'timestamp', key: 'timestamp', align: 'center' as const, @@ -34,25 +34,25 @@ const columns = [ }, }, { - title: '登陆地址', + title: '登录地址', dataIndex: 'address', key: 'address', align: 'center' as const, }, { - title: '登陆IP', + title: '登录IP', dataIndex: 'ip', key: 'ip', align: 'center' as const, }, { - title: '登陆设备', + title: '登录设备', dataIndex: 'platform', key: 'platform', align: 'center' as const, }, { - title: '登陆状态', + title: '登录状态', dataIndex: 'status', key: 'status', align: 'center' as const,