Browse Source

支持attr

kphcdr 1 năm trước cách đây
mục cha
commit
a005732641
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Modules/Mini/Services/PageService.php

+ 1 - 1
app/Modules/Mini/Services/PageService.php

@@ -99,7 +99,7 @@ class PageService extends BaseService
 
     public function filterConfig($params)
     {
-        $spec = Spec::whereIsCustom(0)->get();
+        $spec = Spec::get();
 
         return $spec->map(function (Spec $model) {
             return [