提交 fb83ef89 authored 作者: lihuihui's avatar lihuihui

updata

上级 d1ce5e52
...@@ -43,7 +43,7 @@ export default class ExamAction extends BaseACTION { ...@@ -43,7 +43,7 @@ export default class ExamAction extends BaseACTION {
const opa = ['A', 'B', 'C', 'D', 'E', 'F', 'G'] const opa = ['A', 'B', 'C', 'D', 'E', 'F', 'G']
return opa[index] return opa[index]
} }
}).toString().replace(new RegExp(',', 'g'), ''), }),
answer_count: e.answer_count answer_count: e.answer_count
} }
}) })
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="st-btn" v-if="title === '随堂测试' || title === '模拟考试'"> <div class="st-btn" v-if="title === '随堂测试' || title === '模拟考试' || title === '知识点测试'">
<div class="btn" @click="go(1)">全部解析</div> <div class="btn" @click="go(1)">全部解析</div>
<div class="btn" @click="go(-1)">错题解析</div> <div class="btn" @click="go(-1)">错题解析</div>
</div> </div>
...@@ -120,7 +120,7 @@ export default { ...@@ -120,7 +120,7 @@ export default {
created() { created() {
}, },
mounted() { mounted() {
if (this.$route.query.course_id) { if (this.$route.query.course_id || this.$route.query.tag_id) {
this.$route.query.type === 1 || this.$route.query.type === '1' ? this.title = '随堂测试' : this.title = '知识点测试' this.$route.query.type === 1 || this.$route.query.type === '1' ? this.title = '随堂测试' : this.title = '知识点测试'
} else { } else {
this.$route.query.type === 1 || this.$route.query.type === '1' ? this.title = '能力自测' : this.title = '模拟考试' this.$route.query.type === 1 || this.$route.query.type === '1' ? this.title = '能力自测' : this.title = '模拟考试'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论