diff --git a/class/core/crontab_api.py b/class/core/crontab_api.py index 09a2f9366..996d9dd1d 100755 --- a/class/core/crontab_api.py +++ b/class/core/crontab_api.py @@ -22,7 +22,7 @@ class crontab_api: ##### ----- start ----- ### def listApi(self): p = request.args.get('p', 1) - psize = 3 + psize = 10 startPage = (int(p) - 1) * psize pageInfo = str(startPage) + ',' + str(psize) diff --git a/route/static/app/crontab.js b/route/static/app/crontab.js index ef1f0c0a3..d70efdaca 100755 --- a/route/static/app/crontab.js +++ b/route/static/app/crontab.js @@ -43,7 +43,6 @@ function getLogs(id){ function getCronData(page){ var load = layer.msg(lan.public.the,{icon:16,time:0,shade: [0.3, '#000']}); $.post("/crontab/list?p="+page,'', function(rdata){ - console.log(rdata); layer.close(load); var cbody = ""; if(rdata == ""){