Explorar o código

添加分类刷新

sugar1569 %!s(int64=7) %!d(string=hai) anos
pai
achega
208e1e64e0
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      application/admin/controller/store/StoreCategory.php

+ 0 - 1
application/admin/controller/store/StoreCategory.php

@@ -60,7 +60,6 @@ class StoreCategory extends AuthController
             Form::number('sort','排序'),
             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'));