From 0a560a44228aca5a7e1736b6818c8e28acee91a8 Mon Sep 17 00:00:00 2001 From: sugar1569 Date: Wed, 26 Sep 2018 17:54:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=86=E7=B1=BB=E5=88=B7?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controller/store/StoreCategory.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/admin/controller/store/StoreCategory.php b/application/admin/controller/store/StoreCategory.php index f11f87f3..4f33da27 100644 --- a/application/admin/controller/store/StoreCategory.php +++ b/application/admin/controller/store/StoreCategory.php @@ -61,6 +61,8 @@ class StoreCategory extends AuthController Form::radio('is_show','状态',1)->options([['label'=>'显示','value'=>1],['label'=>'隐藏','value'=>0]]) ]); $form->setMethod('post')->setTitle('添加分类'); + $form->setMethod('post')->setTitle('添加产品')->setSuccessScript('parent.$(".J_iframe:visible")[0].contentWindow.location.reload();'); + $this->assign(compact('form')); return $this->fetch('public/form-builder'); }