|
@@ -43,7 +43,7 @@
|
|
|
inactive-text="生词模式"
|
|
|
/> -->
|
|
|
</div>
|
|
|
- <template v-if="category == 'oc' || !category">
|
|
|
+ <template v-if="category == 'OC' || !category">
|
|
|
<Preview
|
|
|
v-if="chapterId && context"
|
|
|
ref="previewAnswer"
|
|
@@ -181,7 +181,7 @@ export default {
|
|
|
this.themeColor = res.book_theme_color;
|
|
|
if (res.content) {
|
|
|
const _this = this;
|
|
|
- if (!this.category || this.category == "oc") {
|
|
|
+ if (!this.category || this.category == "OC") {
|
|
|
_this.context = {
|
|
|
id: _this.chapterId,
|
|
|
ui_type: JSON.parse(res.content).question
|