摘要: 第1 》收集当前页码 和 每页显示条数 第2==》发送ajax请求页码 和 每页显示条数发送给后端 第3 》接收后端返回的数据总条数 total 和 当前页码的数据 data 第3 》如果当前页没有数据 且 排除第一页,防止出现删除当前页后出现页面没有数据 <div style="margin-to 阅读全文
posted @ 2019-05-30 23:19 南风晚来晚相识 阅读(1030) 评论(0) 推荐(0)
摘要: console.log(error_code,reason); // 输出0 和 插入数据成功 对于报错throw new Typ eError('Router.use() requires a middleware function but got a ' + gettype(fn)) modul 阅读全文
posted @ 2019-05-30 23:03 南风晚来晚相识 阅读(4145) 评论(0) 推荐(0)