diff --git a/client/src/views/exam/questionChoose.vue b/client/src/views/exam/questionChoose.vue index b5114f3..845a8b0 100644 --- a/client/src/views/exam/questionChoose.vue +++ b/client/src/views/exam/questionChoose.vue @@ -195,10 +195,11 @@ this.getList(); }, handleFilter() { + if(this.questioncatC.length) { this.listQuery.questioncat = this.questioncatC[this.questioncatC.length-1] }else{ - this.listQuery.questioncat = '' + this.listQuery.questioncat = this.questioncatC } this.listQuery.page = 1; this.getList();