Commit 5208b584 authored by 文旺-丰林-DEV's avatar 文旺-丰林-DEV

fix ui style

parent 589cbe51
......@@ -5,7 +5,7 @@
"description": "An out-of-box UI solution for enterprise applications",
"scripts": {
"analyze": "cross-env ANALYZE=1 umi build",
"build": "umi build",
"build": "SET NODE_OPTIONS=--openssl-legacy-provider && umi build",
"deploy": "npm run build && npm run gh-pages",
"dev": "npm run start:dev",
"gh-pages": "gh-pages -d dist",
......
......@@ -54,8 +54,7 @@ const PromptWord = () => {
const columns: any[] = [
{
title: '类型',
width: '20%',
title: '提示类型',
key: 'type',
dataIndex: 'type',
valueType: 'select',
......@@ -235,7 +234,6 @@ const PromptWord = () => {
pageSize: 10,
}}
options={false}
dateFormatter="string"
headerTitle="账号列表"
toolBarRender={() => [
<Button
......
......@@ -67,9 +67,10 @@ const UserManage = () => {
const columns: any[] = [
{
title: '用户',
title: '用户账号',
dataIndex: 'name',
ellipsis: true,
width: '20%',
},
{
title: '用户账号',
......@@ -425,9 +426,6 @@ const UserManage = () => {
</Form>
</Modal>
<ProTable
columns={columns}
actionRef={actionRef}
cardBordered
request={async (params = { pageSize: 10, current: 0 }, sort, filter) => {
console.log(sort, filter, params);
const defaultParams = {
......@@ -443,9 +441,12 @@ const UserManage = () => {
success: !isEmpty(response),
};
}}
actionRef={actionRef}
columns={columns}
cardBordered
rowKey="id"
pagination={{
pageSize: 9,
pageSize: 10,
}}
options={false}
headerTitle="账号列表"
......
......@@ -23,7 +23,11 @@
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
/>
<title>Ant Design Pro</title>
<link rel="icon" href="<%= context.config.publicPath +'favicon.ico'%>" type="image/x-icon" />
<link
rel="icon"
href="https://baibaomen.oss-cn-hangzhou.aliyuncs.com/zhensheng/favicon.ico"
type="image/x-icon"
/>
</head>
<body>
<noscript>
......
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