Commit 8e26459c by famon

update

parent e6382e45
......@@ -5,10 +5,7 @@
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<meta name="description" content="Web site created using create-react-app" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
......@@ -24,7 +21,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>随身玩小程序登录记录</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
......
......@@ -9,6 +9,7 @@ export type agentListResponse = {
user_name: string
last_login_time: string
phone: string
comment: string
login_count: number
}
......
......@@ -115,7 +115,7 @@ export function LoginList() {
{data.map((item, index) => (
<List.Item key={index}>
<div className="flex-space">
<span className="ceshi">{item.user_name}</span>
<span className="ceshi">{item.comment ? item.comment : item.user_name}</span>
<span className="ceshi">{item.last_login_time}</span>
<span className="ceshi">{item.phone}</span>
<Tag color={checkCount(item.login_count)}>{item.login_count}</Tag>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment