From 33bfcda9cddf03fc379e319be4b813485d86607f Mon Sep 17 00:00:00 2001 From: Jiang qinghua <841324345@qq.com> Date: Wed, 9 Jan 2019 00:00:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E8=A3=85=E4=BB=A3=E7=A0=81=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=E6=9C=80=E6=96=B0swoft=E7=89=88=E6=9C=AC=E6=B3=A8?= =?UTF-8?q?=E8=A7=A3=E6=89=AB=E6=8F=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Console/Traits/MoveAdminConfig.php | 8 ++++---- src/Scaffold/stubs/controller.stub | 3 --- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/Console/Traits/MoveAdminConfig.php b/src/Console/Traits/MoveAdminConfig.php index 70d8aa5..13e40fe 100755 --- a/src/Console/Traits/MoveAdminConfig.php +++ b/src/Console/Traits/MoveAdminConfig.php @@ -46,15 +46,15 @@ protected function appendConfigContent(Output $output) $append .= << [ 'custom' => [ - 'Swoft\\Admin', - 'Swoft\\Blade' + 'Swoft\\Admin\\', + 'Swoft\\Blade\\' ], ], EOF; } else { $output->writeln("检测到您配置文件中已添加过 components.custom 配置,请在安装结束后手动在 components.custom 数组里面追加以下命名空间 "); - $output->writeln('* Swoft\Admin '); - $output->writeln('* Swoft\\Blade'."\n"); + $output->writeln('* Swoft\Admin\\ '); + $output->writeln('* Swoft\\Blade\\'."\n"); } $append .= $this->getDefaultConfig(); diff --git a/src/Scaffold/stubs/controller.stub b/src/Scaffold/stubs/controller.stub index 487647e..151f6f1 100755 --- a/src/Scaffold/stubs/controller.stub +++ b/src/Scaffold/stubs/controller.stub @@ -44,9 +44,6 @@ class {class} $form->setId($id); - // 更改布局风格 - $form->style(Form::STYLE_ROW); - {form} return $form;