Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing-opeartion
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
gic-web
marketing-opeartion
Commits
629c6db9
Commit
629c6db9
authored
Aug 24, 2022
by
黄冷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/七月迭代' into master
parents
3b3376ff
31adc0da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
template-detail.vue
src/views/activity/template-detail.vue
+1
-2
No files found.
src/views/activity/template-detail.vue
View file @
629c6db9
...
...
@@ -15,7 +15,7 @@
<el-input
class=
"w340"
v-model=
"form.templateName"
show-word-limit
placeholder=
"请输入模板名称"
maxlength=
"20"
></el-input>
</el-form-item>
<el-form-item
label=
"游戏首页背景"
prop=
"backImageUrl.materialValue"
:rules=
"[
{ required: true, message: '请上传' } ]">
<vue-gic-upload-image
:project-name=
"projectName"
is-yw
:action-url=
"actionUrl"
:image-list=
"imageList.backImageUrlList"
max-image-length=
"1"
accept=
"image/jpg,image/jpeg,image/png,image/gif"
:before-upload=
"(file) => beforeUpload(file, 5)"
@
uploadOnSuccess=
"(data) => uploadOnSuccess(data, 'backImageUrl')"
@
deleteImage=
"deleteImage('backImageUrl')"
preview-append-to-body
>
<vue-gic-upload-image
:project-name=
"projectName"
is-yw
:limit-size=
"5"
:action-url=
"actionUrl"
:image-list=
"imageList.backImageUrlList"
max-image-length=
"1"
accept=
"image/jpg,image/jpeg,image/png,image/gif"
:before-upload=
"(file) => beforeUpload(file, 5)"
@
uploadOnSuccess=
"(data) => uploadOnSuccess(data, 'backImageUrl')"
@
deleteImage=
"deleteImage('backImageUrl')"
preview-append-to-body
>
</vue-gic-upload-image>
<p
class=
"tips mt6"
>
图片建议尺寸 750*1800px,格式 jpg/jpeg/png/gif,大小 5M 以内。
</p>
</el-form-item>
...
...
@@ -541,7 +541,6 @@ export default {
this
.
$message
.
error
(
`图片不能大于
${
size
}
M,请重新上传!`
);
return
false
;
}
return
true
;
},
onValChange
(){
...
...
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