Просмотр исходного кода

fix(Student): 移除关键词显示并简化回答数据字段

移除choiceQuestionDetailDialog中关键词的显示,改为仅保留查看关键词云按钮。同时简化回答数据字段,只保留answer字段。
SanHQin 2 дней назад
Родитель
Сommit
9fa1f3a98d
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/views/Student/components/choiceQuestionDetailDialog.vue

+ 2 - 2
src/views/Student/components/choiceQuestionDetailDialog.vue

@@ -144,7 +144,7 @@
           </div>
           <div class="ai_echartsData" v-if="currentAnalysis && currentAnalysis.json.keyword">
             <div class="title">{{ lang.ssKeyword }}:</div>
-            <span v-for="(item,index) in currentAnalysis.json.keyword" :key="index">{{ item }}</span>
+            <!--<span v-for="(item,index) in currentAnalysis.json.keyword" :key="index">{{ item }}</span>-->
             <div class="btn" @click="openEchatsDialog()">{{ lang.ssViewKeywordCloud }}</div>
           </div>
           <div class="generatingContent" v-if="currentAnalysis && currentAnalysis.generatingContent">{{ lang.ssGeneratingContent }}...</div>
@@ -1076,7 +1076,7 @@ const getWordCloud15 = () => {
 - 课程学科:${props.courseDetail.name}
 当前页面答题数据(问答题):【分析重点】
 - 问答题题目:${props.showData.workDetail.json.answerQ}
-- 回答数据:${JSON.stringify(processedWorkArray.value.map((i) => ({ user: i.name, answer: i.content.answer })))}
+- 回答数据:${JSON.stringify(processedWorkArray.value.map((i) => ({ answer: i.content.answer })))}
 
 ## 输出示例
 {"tooltip":{"show":false},"series":[{"type":"wordCloud","sizeRange":[14,38],"rotationRange":[0,0],"keepAspect":false,"shape":"circle","left":"center","top":"center","right":null,"bottom":null,"width":"100%","height":"100%","rotationStep":20,"data":[{"value":"词汇大小,数值范围1-100","name":"词汇","textStyle":{"color":"词汇颜色(16进制)"}},{"value":"词汇大小,数值范围1-100","name":"词汇","textStyle":{"color":"(16进制)"}}]}]}`