Explorar o código

应聘信息分页bug

gcz %!s(int64=2) %!d(string=hai) anos
pai
achega
b48480f51f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);