提交
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<!-- <u-navbar :title="navTitle" @rightClick="rightClick" :autoBack="true">
|
||||
</u-navbar> -->
|
||||
<j-navbar>{{navTitle}}</j-navbar>
|
||||
<Question :tabsList="tabsList" :isShowAll="true" />
|
||||
<Question ref="question" :tabsList="tabsList" :isShowAll="true"></Question>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -27,16 +27,21 @@
|
||||
},{
|
||||
label:"背题",
|
||||
value:1
|
||||
}]
|
||||
}],
|
||||
questionArr:[]
|
||||
}
|
||||
},
|
||||
onLoad(op) {
|
||||
if(op&&op.navTitle){
|
||||
this.navTitle=op.navTitle
|
||||
if(this.navTitle==='顺序答题'){
|
||||
this.questionArr=[...this.orderQuestion]
|
||||
this.$refs.question.getQuestionList(this.questionArr)
|
||||
}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState(useQuestionStore, ["orderQuestionList"]) //映射函数,取出tagslist
|
||||
...mapState(useQuestionStore, ["orderQuestion"]) //映射函数,取出tagslist
|
||||
},
|
||||
methods: {
|
||||
rightClick() {
|
||||
|
||||
Reference in New Issue
Block a user