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

fix ui style

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