From 0fb1ec16b59e33d9b2a504506fef8ffc35b7d75a Mon Sep 17 00:00:00 2001
From: "@fawn-nine" <1271023382@qq.com>
Date: Wed, 28 Aug 2024 14:26:55 +0800
Subject: [PATCH] 1
---
.../modules/course/chapter-add-or-update.vue | 24 +++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/src/views/modules/course/chapter-add-or-update.vue b/src/views/modules/course/chapter-add-or-update.vue
index 1d208e6..edc6e59 100644
--- a/src/views/modules/course/chapter-add-or-update.vue
+++ b/src/views/modules/course/chapter-add-or-update.vue
@@ -90,6 +90,17 @@
>
+
+
+
+
+
@@ -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) {