xiatian 4 年 前
コミット
7bfcffc722
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/modules/questions/views/Question.vue

+ 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;