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
7fa66c12
Commit
7fa66c12
authored
Sep 01, 2023
by
陈明豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
30eb3d0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
imgUploadForBanner.vue
src/components/ImageUpload/imgUploadForBanner.vue
+4
-0
banner_add.vue
src/views/banner_management/banner_add.vue
+1
-1
No files found.
src/components/ImageUpload/imgUploadForBanner.vue
View file @
7fa66c12
...
@@ -419,5 +419,9 @@ export default {
...
@@ -419,5 +419,9 @@ export default {
height
:
22px
;
height
:
22px
;
}
}
}
}
::v-deep
.el-upload__tip
{
padding-top
:
10px
!
important
;
line-height
:
0
!
important
;
}
</
style
>
</
style
>
src/views/banner_management/banner_add.vue
View file @
7fa66c12
...
@@ -105,7 +105,7 @@ export default {
...
@@ -105,7 +105,7 @@ export default {
if
(
!
value
||
value
.
length
===
0
)
{
if
(
!
value
||
value
.
length
===
0
)
{
console
.
log
(
'触发必填'
,
value
.
length
)
console
.
log
(
'触发必填'
,
value
.
length
)
this
.
showImgTips
=
false
this
.
showImgTips
=
false
callback
(
new
Error
(
'请上传jpg/jpeg/png文件
请
,且不超过20Mb'
))
callback
(
new
Error
(
'请上传jpg/jpeg/png文件,且不超过20Mb'
))
}
else
{
}
else
{
this
.
showImgTips
=
false
this
.
showImgTips
=
false
callback
()
callback
()
...
...
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