Browse Source

修改问题

dusenyao 1 year ago
parent
commit
c3eccebc1f

+ 1 - 2
src/components/common/RichText.vue

@@ -103,7 +103,7 @@ export default {
         statusbar: false, // 状态栏
         setup(editor) {
           editor.on('init', () => {
-            editor.getBody().style.fontSize = '14pt'; // 设置默认字体大小
+            editor.getBody().style.fontSize = '16pt'; // 设置默认字体大小
           });
         },
         font_formats:
@@ -130,7 +130,6 @@ export default {
           '宋体=宋体,微软雅黑;',
         // 字数限制
         fontsize_formats: '8pt 10pt 11pt 12pt 14pt 16pt 18pt 20pt 22pt 24pt 26pt 28pt 30pt 32pt 34pt 36pt',
-        fontsize_default: '16pt',
         ax_wordlimit_num: this.wordlimitNum,
         ax_wordlimit_callback(editor) {
           editor.execCommand('undo');

+ 1 - 1
src/views/exercise_questions/create/components/exercises/RepeatQuestion.vue

@@ -134,7 +134,7 @@ export default {
   methods: {
     /**
      * 智能识别
-     * @param {String} text 识别数据
+     * @param {string} text 识别数据
      */
     recognition(text) {
       let arr = text

+ 1 - 1
src/views/exercise_questions/preview/ReadAloudPreview.vue

@@ -13,7 +13,7 @@
       :file-id="data.file_id_list[0]"
     />
 
-    <SoundRecordPreview :wav-blob.sync="answer.answer_list[0].voice_file_id" />
+    <SoundRecordPreview :wav-blob.sync="answer.answer_list[0].voice_file_id" position="center" />
   </div>
 </template>
 

+ 1 - 1
src/views/home/collaborate_question/index.vue

@@ -15,7 +15,7 @@
         <el-table-column prop="create_time" label="创建时间" width="180" />
         <el-table-column prop="last_modifier_name" label="最近编辑" width="140" />
         <el-table-column prop="last_modify_time" label="最近编辑时间" width="180" />
-        <el-table-column prop="intro" label="简介" width="240" />
+        <el-table-column prop="intro" label="简介" />
 
         <el-table-column prop="operation" label="操作" fixed="right" width="300">
           <template slot-scope="{ row }">