element pagination bug

When I was working today, there was an echo data, and there was a pagination at the same time. There was a strange bug, that is, your page number is obviously the third page, and the data is also the third page, but it shows the second page on the paging, which is puzzling
.

      <!--分页-->
          <div class="pagination" v-if="pageshow">
            <el-pagination
              @current-change="handleCurrentChange"
              background
              :current-page="curPage"
              :page-size="page.per_page"
              layout="total, prev, pager, next, jumper"
              :total="page.total"
            ></el-pagination>
          </div>

Guess you like

Origin blog.csdn.net/xiaokangna/article/details/124996680