chengwl %!s(int64=4) %!d(string=hai) anos
pai
achega
43ee3641b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      controllers/IndexController.php

+ 1 - 1
controllers/IndexController.php

@@ -128,8 +128,8 @@ class IndexController extends Controller
         'created_at',
       ];
       if(!empty($contentpages)){
+        $list=[];
         foreach($contentpages as $k=>$v){
-          $list=[];
           $item=[
             $v['pagePath'],
             $store,