0920
This commit is contained in:
@@ -27,7 +27,9 @@
|
||||
<img width="100%" :src="dataForm.productImages" alt="">
|
||||
</el-dialog>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="简介/描述" prop="bookdesc">
|
||||
<el-input type="textarea" rows="4" v-model="dataForm.bookdesc"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="书评详情" prop="productDetails">
|
||||
<quill-editor v-model="dataForm.productDetails" ref="myQuillEditor" :options="editorOption"
|
||||
@blur="onEditorBlur($event)" @focus="onEditorFocus($event)"
|
||||
@@ -79,6 +81,7 @@
|
||||
title: '',
|
||||
productPid: '',
|
||||
productImages: '',
|
||||
bookdesc:'',
|
||||
shupingid:null,
|
||||
|
||||
},
|
||||
@@ -172,7 +175,7 @@
|
||||
// console.log(data,666)
|
||||
if (data && data.code === 0) {
|
||||
this.dataForm.title = data.BookForumArticlesEntity.title
|
||||
|
||||
this.dataForm.bookdesc = data.BookForumArticlesEntity.bookdesc
|
||||
this.dataForm.productImages = data.BookForumArticlesEntity.image
|
||||
this.dataForm.productDetails = data.BookForumArticlesEntity.content
|
||||
|
||||
@@ -224,7 +227,8 @@
|
||||
'image': this.dataForm.productImages,
|
||||
'content': this.dataForm.productDetails,
|
||||
'userid': this.$store.state.user.id,
|
||||
'id': this.dataForm.shupingid
|
||||
'id': this.dataForm.shupingid,
|
||||
'bookdesc': this.dataForm.bookdesc
|
||||
})
|
||||
}).then(({
|
||||
data
|
||||
|
||||
Reference in New Issue
Block a user