Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-business-web
Project
Project
Details
Activity
Releases
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
刘怀志
pet-business-web
Commits
30eb3d0d
Commit
30eb3d0d
authored
Sep 01, 2023
by
陈明豪
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
64d99d30
9eb7000a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
imgUploadForBanner.vue
src/components/ImageUpload/imgUploadForBanner.vue
+5
-1
No files found.
src/components/ImageUpload/imgUploadForBanner.vue
View file @
30eb3d0d
...
@@ -115,7 +115,7 @@ export default {
...
@@ -115,7 +115,7 @@ export default {
// 大小限制(MB)
// 大小限制(MB)
fileSize
:
{
fileSize
:
{
type
:
Number
,
type
:
Number
,
default
:
3
default
:
4
},
},
// 文件类型, 例如['png', 'jpg', 'jpeg']
// 文件类型, 例如['png', 'jpg', 'jpeg']
fileType
:
{
fileType
:
{
...
@@ -329,6 +329,10 @@ export default {
...
@@ -329,6 +329,10 @@ export default {
// 上传失败
// 上传失败
handleUploadError
()
{
handleUploadError
()
{
this
.
$modal
.
msgError
(
'上传图片失败,请重试'
)
this
.
$modal
.
msgError
(
'上传图片失败,请重试'
)
this
.
cropperVisible
=
false
this
.
fileList
=
[]
this
.
uploadList
=
[]
this
.
number
=
0
// this.$modal.closeLoading()
// this.$modal.closeLoading()
},
},
// 上传结束处理
// 上传结束处理
...
...
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