1
This commit is contained in:
@@ -90,6 +90,17 @@
|
||||
>
|
||||
</quill-editor>
|
||||
</el-form-item>
|
||||
<el-form-item label="思考题" prop="questions" class="custom-chapter-height">
|
||||
<!-- <el-input v-model="dataForm.content" placeholder="内容"></el-input> -->
|
||||
<quill-editor
|
||||
v-model="dataForm.questions"
|
||||
ref="myQuillEditor1"
|
||||
:options="editorOption1"
|
||||
class="chapter_editor"
|
||||
|
||||
>
|
||||
</quill-editor>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item prop="sort" label-width="0"> -->
|
||||
<!-- <div v-if="this.dataForm.id"> -->
|
||||
<div>
|
||||
@@ -212,6 +223,17 @@ export default {
|
||||
},
|
||||
placeholder: "请输入正文"
|
||||
},
|
||||
editorOption1: {
|
||||
modules: {
|
||||
history: {
|
||||
delay: 1000,
|
||||
maxStack: 50,
|
||||
userOnly: false
|
||||
},
|
||||
toolbar: false
|
||||
},
|
||||
placeholder: "请输入思考题"
|
||||
},
|
||||
visible: false,
|
||||
props: {
|
||||
dictType: "",
|
||||
@@ -249,6 +271,7 @@ export default {
|
||||
imgUrl: "",
|
||||
content: "",
|
||||
sort: 1,
|
||||
questions:''
|
||||
// video_audio_url: [
|
||||
// {url:'454545',type:0}
|
||||
// ]
|
||||
@@ -354,6 +377,7 @@ export default {
|
||||
sort: this.dataForm.sort,
|
||||
isAudition: this.dataForm.isAudition,
|
||||
videoList:this.video_audio_url,
|
||||
questions: this.dataForm.questions
|
||||
})
|
||||
}).then(({ data }) => {
|
||||
if (data && data.code === 0) {
|
||||
|
||||
Reference in New Issue
Block a user