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;