Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chatGLM
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘坚-丰林-DEV
chatGLM
Commits
5208b584
Commit
5208b584
authored
Apr 17, 2023
by
文旺-丰林-DEV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ui style
parent
589cbe51
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
10 deletions
+13
-10
package.json
package.json
+1
-1
index.tsx
src/pages/PromptWord/index.tsx
+1
-3
index.tsx
src/pages/UserManage/index.tsx
+6
-5
document.ejs
src/pages/document.ejs
+5
-1
No files found.
package.json
View file @
5208b584
...
...
@@ -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"
,
...
...
src/pages/PromptWord/index.tsx
View file @
5208b584
...
...
@@ -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
...
...
src/pages/UserManage/index.tsx
View file @
5208b584
...
...
@@ -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=
"账号列表"
...
...
src/pages/document.ejs
View file @
5208b584
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment