rabin 2 years ago
parent
commit
96b3b4613a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Database.php

+ 2 - 2
src/Database.php

@@ -1770,7 +1770,7 @@ class Database
             if (isset($config['manage']['excel']) && $config['manage']['excel']) {
                 $method = 'excel';
                 $info = $this->info();
-                $data = $this->getAdminInfo($data);
+                //$data = $this->getAdminInfo($data);
                 $load = Dever::input('excel_load');
                 if ($load) {
                     return Dever::load($load, $data);
@@ -1848,7 +1848,7 @@ class Database
             }
         }
 
-        Dever::excelExport($body, $header, $file);
+        return Dever::excelExport($body, $header, $file);
     }
 
     private function getOptionValue($value, $v)