|
@@ -45,8 +45,8 @@ import Notes from '../create/components/question/notes/Notes.vue';
|
|
|
import NotesSetting from '../create/components/question/notes/NotesSetting.vue';
|
|
import NotesSetting from '../create/components/question/notes/NotesSetting.vue';
|
|
|
// import OtherWord from '../create/components/question/other_word/OtherWord.vue';
|
|
// import OtherWord from '../create/components/question/other_word/OtherWord.vue';
|
|
|
// import OtherWordSetting from '../create/components/question/other_word/OtherWordSetting.vue';
|
|
// import OtherWordSetting from '../create/components/question/other_word/OtherWordSetting.vue';
|
|
|
-// import Article from '../create/components/question/article/Article.vue';
|
|
|
|
|
-// import ArticleSetting from '../create/components/question/article/ArticleSetting.vue';
|
|
|
|
|
|
|
+import Article from '../create/components/question/article/Article.vue';
|
|
|
|
|
+import ArticleSetting from '../create/components/question/article/ArticleSetting.vue';
|
|
|
// import Math from '../create/components/question/math/Math.vue';
|
|
// import Math from '../create/components/question/math/Math.vue';
|
|
|
// import MathSetting from '../create/components/question/math/MathSetting.vue';
|
|
// import MathSetting from '../create/components/question/math/MathSetting.vue';
|
|
|
import Input from '../create/components/question/input/Input.vue';
|
|
import Input from '../create/components/question/input/Input.vue';
|
|
@@ -92,7 +92,7 @@ import WritePreview from '../preview/components/write/WritePreview.vue';
|
|
|
import NewWordPreview from '../preview/components/new_word/NewWordPreview.vue';
|
|
import NewWordPreview from '../preview/components/new_word/NewWordPreview.vue';
|
|
|
import NotesPreview from '../preview/components/notes/NotesPreview.vue';
|
|
import NotesPreview from '../preview/components/notes/NotesPreview.vue';
|
|
|
// import OtherWordPreview from '../preview/components/other_word/OtherWordPreview.vue';
|
|
// import OtherWordPreview from '../preview/components/other_word/OtherWordPreview.vue';
|
|
|
-// import ArticlePreview from '../preview/components/article/index.vue';
|
|
|
|
|
|
|
+import ArticlePreview from '../preview/components/article/index.vue';
|
|
|
// import MathPreview from '../preview/components/math/MathPreview.vue';
|
|
// import MathPreview from '../preview/components/math/MathPreview.vue';
|
|
|
import InputPreview from '../preview/components/input/InputPreview.vue';
|
|
import InputPreview from '../preview/components/input/InputPreview.vue';
|
|
|
|
|
|
|
@@ -229,14 +229,14 @@ export const bookTypeOption = [
|
|
|
value: 'question',
|
|
value: 'question',
|
|
|
label: '题型组件',
|
|
label: '题型组件',
|
|
|
children: [
|
|
children: [
|
|
|
- // {
|
|
|
|
|
- // value: 'article',
|
|
|
|
|
- // label: '文章组件',
|
|
|
|
|
- // icon: '',
|
|
|
|
|
- // component: Article,
|
|
|
|
|
- // set: ArticleSetting,
|
|
|
|
|
- // preview: ArticlePreview,
|
|
|
|
|
- // },
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ value: 'article',
|
|
|
|
|
+ label: '文章组件',
|
|
|
|
|
+ icon: '',
|
|
|
|
|
+ component: Article,
|
|
|
|
|
+ set: ArticleSetting,
|
|
|
|
|
+ preview: ArticlePreview,
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
value: 'select',
|
|
value: 'select',
|
|
|
label: '选择组件',
|
|
label: '选择组件',
|