25576
This commit is contained in:
@@ -44,6 +44,9 @@
|
|||||||
fileType="img"
|
fileType="img"
|
||||||
acceptType=".jpg,.png,.jpeg"
|
acceptType=".jpg,.png,.jpeg"
|
||||||
:limit="9">
|
:limit="9">
|
||||||
|
<template slot="tips">
|
||||||
|
<p>最多上传9张图片,单个文件最大10MB,支持jpg、jpeg、png格式</p>
|
||||||
|
</template>
|
||||||
</ai-uploader>
|
</ai-uploader>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.contentType === '1'" label="视频" prop="files" style="width: 100%;">
|
<el-form-item v-if="form.contentType === '1'" label="视频" prop="files" style="width: 100%;">
|
||||||
@@ -88,8 +91,7 @@
|
|||||||
props: {
|
props: {
|
||||||
instance: Function,
|
instance: Function,
|
||||||
dict: Object,
|
dict: Object,
|
||||||
params: Object,
|
params: Object
|
||||||
moduleId: String
|
|
||||||
},
|
},
|
||||||
|
|
||||||
data () {
|
data () {
|
||||||
@@ -173,7 +175,7 @@
|
|||||||
moduleId: this.$route.query.moduleId,
|
moduleId: this.$route.query.moduleId,
|
||||||
createUserName: this.user.info.name,
|
createUserName: this.user.info.name,
|
||||||
createUserId: this.user.info.id,
|
createUserId: this.user.info.id,
|
||||||
categoryName: this.cateList.filter(v => v.id === this.form.categoryId)[0].categoryName,
|
categoryName: this.cateList.length ? this.cateList.filter(v => v.id === this.form.categoryId)[0].categoryName : '',
|
||||||
pictureUrl: this.form.pictureUrl.length ? this.form.pictureUrl[0].url : ''
|
pictureUrl: this.form.pictureUrl.length ? this.form.pictureUrl[0].url : ''
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user