xiatian 4 жил өмнө
parent
commit
7bfcffc722

+ 1 - 1
src/modules/questions/views/Question.vue

@@ -474,7 +474,7 @@ export default {
       this.searchQues();
     },
     searchQues() {
-      var pageNo = this.currentPage | 1;
+      var pageNo = this.currentPage || 1;
       this.currentPage = 1;
       this.tableData = [];
       var url = QUESTION_API + "/question/" + pageNo + "/" + this.pageSize;