rabin 3 年之前
父節點
當前提交
4e7125ae0f
共有 1 個文件被更改,包括 10 次插入7 次删除
  1. 10 7
      src/Database.php

+ 10 - 7
src/Database.php

@@ -2220,15 +2220,18 @@ class Database
 
         $config = $this->config();
 
-        if ($type == 'layui') {
-            if (isset($config['manage']['list_table'])) {
-                return array();
-            }
-        } else {
-            if (!isset($config['manage']['list_table'])) {
-                return '';
+        if (!$excel) {
+            if ($type == 'layui') {
+                if (isset($config['manage']['list_table'])) {
+                    return array();
+                }
+            } else {
+                if (!isset($config['manage']['list_table'])) {
+                    return '';
+                }
             }
         }
+        
 
         $high = array();