소스 검색

应聘信息分页bug

gcz 2 년 전
부모
커밋
b48480f51f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/applys.vue

+ 1 - 1
src/components/applys.vue

@@ -284,7 +284,7 @@ export default {
         .then((res) => {
           console.log("getComPostList", res);
           this.applyList = res.data.rows;
-          this.total = res.total;
+          this.total =  Number(res.data.total);
         })
         .catch((err) => {
           this.$message.error(err.msg);