sugar1569 7 лет назад
Родитель
Сommit
e115130767
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      application/admin/view/system/system_databackup/index.php

+ 3 - 3
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('请选择表');