Explorar el Código

应聘信息分页bug

gcz hace 2 años
padre
commit
b48480f51f
Se han modificado 1 ficheros con 1 adiciones y 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);