chengwl 4 years ago
parent
commit
43ee3641b6
1 changed files with 1 additions and 1 deletions
  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,