From e1151307673227f4df60e8797e6eca512dfa22ed Mon Sep 17 00:00:00 2001 From: sugar1569 Date: Tue, 25 Sep 2018 12:29:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E5=A4=87=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/view/system/system_databackup/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/admin/view/system/system_databackup/index.php b/application/admin/view/system/system_databackup/index.php index d6918072..0ff42ff6 100644 --- a/application/admin/view/system/system_databackup/index.php +++ b/application/admin/view/system/system_databackup/index.php @@ -50,7 +50,7 @@ var fileList = layui.table; var tableList = layui.table; //加载sql备份列表 - fileList.render({ + var buckdata = fileList.render({ elem: '#fileList' ,url:"{:Url('fileList')}" ,cols: [[ @@ -72,7 +72,7 @@ layer.confirm('真的删除行么', function(index){ layList.basePost(layList.Url({a:'delFile'}),{feilname:data.time},function (res) { layList.msg(res.msg); -// layList.reload(); + buckdata.reload(); }); obj.del(); layer.close(index); @@ -111,7 +111,7 @@ if(tables.length){ layList.basePost(layList.Url({a:'backup'}),{tables:tables},function (res) { layList.msg(res.msg); - fileList.reload(); + //fileList.reload(); }); }else{ layList.msg('请选择表');