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