chengwl 4 năm trước cách đây
mục cha
commit
43ee3641b6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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,