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
                 }