From 63af00512bd0927c534d629a7d0061a381a44738 Mon Sep 17 00:00:00 2001 From: funadmin <994927909@qq.com> Date: Sat, 3 Sep 2022 13:09:01 +0800 Subject: [PATCH] Update Menu.php --- src/curd/Menu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/curd/Menu.php b/src/curd/Menu.php index e7ad47b..34296a9 100644 --- a/src/curd/Menu.php +++ b/src/curd/Menu.php @@ -47,7 +47,7 @@ protected function configure() $this->setName('menu') ->addOption('controller', 'c', Option::VALUE_OPTIONAL, '控制器名', null) ->addOption('addon', 'a', Option::VALUE_OPTIONAL, '插件名', null) - ->addOption('app', '', Option::VALUE_OPTIONAL, 'app', null) + ->addOption('app', '', Option::VALUE_OPTIONAL, 'app', 0) ->addOption('force', 'f', Option::VALUE_OPTIONAL, '强制覆盖或删除', 0) ->addOption('delete', 'd', Option::VALUE_OPTIONAL, '删除', 0) ->setDescription('Menu Command');