From f2a39fdc04b5aa1aa06747f70cd3aac2589a7a57 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 19 Sep 2020 16:03:09 +0800 Subject: [PATCH] up --- class/core/crontab_api.py | 2 +- route/static/app/crontab.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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 == ""){