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
b47c82dd
Commit
b47c82dd
authored
Jul 30, 2024
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
80a19a0e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
ImportAssetDrawer.jsx
src/view/Manage/AssetManage/Component/ImportAssetDrawer.jsx
+2
-2
ImportActionComment.jsx
src/view/Manage/Model/Component/ImportActionComment.jsx
+2
-2
start-flow.jsx
src/view/Manage/Model/Component/start-flow.jsx
+2
-2
No files found.
src/view/Manage/AssetManage/Component/ImportAssetDrawer.jsx
View file @
b47c82dd
...
...
@@ -111,9 +111,9 @@ const ImportAssetDrawer = (props) => {
},
beforeUpload
:
file
=>
{
const
isLt2OM
=
file
.
size
/
1024
/
1024
<
100
;
const
isLt2OM
=
file
.
size
/
1024
/
1024
<
=
100
;
if
(
!
isLt2OM
)
{
showMessage
(
'error'
,
'上传文件
必须小于
100M'
);
showMessage
(
'error'
,
'上传文件
限制最大
100M'
);
setFileList
([]);
return
false
;
}
...
...
src/view/Manage/Model/Component/ImportActionComment.jsx
View file @
b47c82dd
...
...
@@ -93,9 +93,9 @@ const FC = (props) => {
const
uploadProps
=
{
beforeUpload
:
file
=>
{
const
isLt20M
=
file
.
size
/
1024
/
1024
<
100
const
isLt20M
=
file
.
size
/
1024
/
1024
<
=
100
if
(
!
isLt20M
)
{
showMessage
(
'error'
,
'上传文件
必须小于
100M'
)
showMessage
(
'error'
,
'上传文件
限制最大
100M'
)
return
false
}
...
...
src/view/Manage/Model/Component/start-flow.jsx
View file @
b47c82dd
...
...
@@ -115,9 +115,9 @@ const Basic = React.forwardRef(function ({}, ref) {
const
uploadProps
=
{
beforeUpload
:
file
=>
{
const
isLt5M
=
file
.
size
/
1024
/
1024
<
100
const
isLt5M
=
file
.
size
/
1024
/
1024
<
=
100
if
(
!
isLt5M
)
{
showMessage
(
'error'
,
'上传文件
必须小于
100M'
)
showMessage
(
'error'
,
'上传文件
限制最大
100M'
)
return
false
}
...
...
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