moshaorui 3 місяців тому
батько
коміт
30d9211b1e
1 змінених файлів з 1 додано та 1 видалено
  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
                 }