Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
zhaochengxiang
szse
Commits
df6b39ab
Commit
df6b39ab
authored
Aug 05, 2024
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
eff880b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
ImportActionComment.jsx
src/view/Manage/Model/Component/ImportActionComment.jsx
+6
-1
No files found.
src/view/Manage/Model/Component/ImportActionComment.jsx
View file @
df6b39ab
...
@@ -93,6 +93,11 @@ const FC = (props) => {
...
@@ -93,6 +93,11 @@ const FC = (props) => {
const
uploadProps
=
{
const
uploadProps
=
{
beforeUpload
:
file
=>
{
beforeUpload
:
file
=>
{
if
(
uploading
)
{
showMessage
(
'warn'
,
'文件上传中,请稍后'
)
return
}
const
isLt20M
=
file
.
size
/
1024
/
1024
<=
100
const
isLt20M
=
file
.
size
/
1024
/
1024
<=
100
if
(
!
isLt20M
)
{
if
(
!
isLt20M
)
{
showMessage
(
'error'
,
'上传文件限制最大100M'
)
showMessage
(
'error'
,
'上传文件限制最大100M'
)
...
@@ -143,7 +148,7 @@ const FC = (props) => {
...
@@ -143,7 +148,7 @@ const FC = (props) => {
<
div
className=
'flex'
style=
{
{
padding
:
'8px 11px'
,
justifyContent
:
'space-between'
}
}
>
<
div
className=
'flex'
style=
{
{
padding
:
'8px 11px'
,
justifyContent
:
'space-between'
}
}
>
<
Space
align=
'start'
>
<
Space
align=
'start'
>
<
Upload
{
...
uploadProps
}
>
<
Upload
{
...
uploadProps
}
>
<
Button
size=
'small'
icon=
{
<
PlusOutlined
/>
}
/>
<
Button
loading=
{
uploading
}
size=
'small'
icon=
{
<
PlusOutlined
/>
}
/>
</
Upload
>
</
Upload
>
<
AttachesItem
value=
{
fileList
}
onChange=
{
(
val
)
=>
{
setFileList
(
val
)
}
}
/>
<
AttachesItem
value=
{
fileList
}
onChange=
{
(
val
)
=>
{
setFileList
(
val
)
}
}
/>
</
Space
>
</
Space
>
...
...
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