Browse Source

应聘信息分页bug

gcz 2 năm trước cách đây
mục cha
commit
b48480f51f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);