diff --git a/config/database.php b/config/database.php
index be3705785..cfe1a21fa 100644
--- a/config/database.php
+++ b/config/database.php
@@ -58,7 +58,7 @@ return [
             // 监听SQL
             'trigger_sql'     => true,
             // 开启字段缓存
-            'fields_cache'    => false,
+            'fields_cache'    => !app()->isDebug(),
         ],
     ],
 ];