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