moshaorui 3 months ago
parent
commit
30d9211b1e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Helpers/SiteCache.php

+ 1 - 1
app/Helpers/SiteCache.php

@@ -44,7 +44,7 @@ class SiteCache
                 if ($appearance && $publishList) {
                     $dist['appearance'] = $appearance;
                     $dist['publishList'] = $publishList;
-                    $dist['template_name'] = $appearance['title'];
+                    $dist['template_name'] = $appearance['folder'];
                 } else {
                     return null; // 如果 appearance 或 publishList 加载失败,返回 null
                 }