修改错误文字 (#809)

Co-authored-by: 14K <9112790+the14k@user.noreply.gitee.com>
This commit is contained in:
14kk 2021-10-29 23:26:44 +08:00 committed by GitHub
parent 1da1659b51
commit 2b61204233
4 changed files with 11 additions and 11 deletions

View File

@ -59,7 +59,7 @@ cat查看之后返回的结果类似如下字段
# admin即为登录名;Xb-ZYP526wmg4_h6q1WqIO为登录密码 # admin即为登录名;Xb-ZYP526wmg4_h6q1WqIO为登录密码
``` ```
输入此处记录的`username`及`password`,即可成功登陆qinglong面板登陆后即可正常使用 输入此处记录的`username`及`password`,即可成功登录qinglong面板登录后即可正常使用
## 拉取脚本 ## 拉取脚本
```bash ```bash

View File

@ -116,10 +116,10 @@ export default class UserService {
isTwoFactorChecking: false, isTwoFactorChecking: false,
}); });
await this.notificationService.notify( await this.notificationService.notify(
'登通知', '登通知',
`你于${new Date(timestamp).toLocaleString()}${address} ${ `你于${new Date(timestamp).toLocaleString()}${address} ${
req.platform req.platform
} ip地址 ${ip}`, } ip地址 ${ip}`,
); );
await this.getLoginLog(); await this.getLoginLog();
await this.insertDb({ await this.insertDb({
@ -145,10 +145,10 @@ export default class UserService {
platform: req.platform, platform: req.platform,
}); });
await this.notificationService.notify( await this.notificationService.notify(
'登通知', '登通知',
`你于${new Date(timestamp).toLocaleString()}${address} ${ `你于${new Date(timestamp).toLocaleString()}${address} ${
req.platform req.platform
} ip地址 ${ip}`, } ip地址 ${ip}`,
); );
await this.getLoginLog(); await this.getLoginLog();
await this.insertDb({ await this.insertDb({

View File

@ -348,7 +348,7 @@ const Setting = ({
<Tabs.TabPane tab="通知设置" key="notification"> <Tabs.TabPane tab="通知设置" key="notification">
<NotificationSetting data={notificationInfo} /> <NotificationSetting data={notificationInfo} />
</Tabs.TabPane> </Tabs.TabPane>
<Tabs.TabPane tab="登日志" key="login"> <Tabs.TabPane tab="登日志" key="login">
<LoginLog data={loginLogData} /> <LoginLog data={loginLogData} />
</Tabs.TabPane> </Tabs.TabPane>
<Tabs.TabPane tab="其他设置" key="other"> <Tabs.TabPane tab="其他设置" key="other">

View File

@ -25,7 +25,7 @@ const columns = [
}, },
}, },
{ {
title: '登时间', title: '登时间',
dataIndex: 'timestamp', dataIndex: 'timestamp',
key: 'timestamp', key: 'timestamp',
align: 'center' as const, align: 'center' as const,
@ -34,25 +34,25 @@ const columns = [
}, },
}, },
{ {
title: '登地址', title: '登地址',
dataIndex: 'address', dataIndex: 'address',
key: 'address', key: 'address',
align: 'center' as const, align: 'center' as const,
}, },
{ {
title: '登IP', title: '登IP',
dataIndex: 'ip', dataIndex: 'ip',
key: 'ip', key: 'ip',
align: 'center' as const, align: 'center' as const,
}, },
{ {
title: '登设备', title: '登设备',
dataIndex: 'platform', dataIndex: 'platform',
key: 'platform', key: 'platform',
align: 'center' as const, align: 'center' as const,
}, },
{ {
title: '登状态', title: '登状态',
dataIndex: 'status', dataIndex: 'status',
key: 'status', key: 'status',
align: 'center' as const, align: 'center' as const,