From df5e7be3025b39476148e919e8b4dfbbbee2cb27 Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 11 Apr 2022 20:57:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=20getArrSubIds=20=E8=B0=83?= =?UTF-8?q?=E7=94=A8=EF=BC=8Carr2table=20=E5=B7=B2=E5=86=85=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/data/controller/shop/Cate.php | 3 --- app/data/view/shop/cate/index.html | 8 ++++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/app/data/controller/shop/Cate.php b/app/data/controller/shop/Cate.php index f72df9133..42f6b2745 100644 --- a/app/data/controller/shop/Cate.php +++ b/app/data/controller/shop/Cate.php @@ -34,9 +34,6 @@ class Cate extends Controller */ protected function _index_page_filter(array &$data) { - foreach ($data as &$vo) { - $vo['ids'] = join(',', DataExtend::getArrSubIds($data, $vo['id'])); - } $data = DataExtend::arr2table($data); } diff --git a/app/data/view/shop/cate/index.html b/app/data/view/shop/cate/index.html index 87c68aeaa..2cb84af51 100644 --- a/app/data/view/shop/cate/index.html +++ b/app/data/view/shop/cate/index.html @@ -30,7 +30,7 @@ {foreach $list as $key=>$vo} - + @@ -49,15 +49,15 @@ - 激 活 + 激 活 - 禁 用 + 禁 用 - 删 除 + 删 除