File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 "require" : {
1818 "php" : " >=7.3" ,
1919 "ext-swoole" : " >=4.5" ,
20- "mzh/hyperf-helper" : " ^0.1.7" ,
21- "hyperf-plus/ui" : " ^1.0.0" ,
22- "hyperf-plus/route" : " ^1.0.0" ,
2320 "hyperf/model-cache" : " ^2.0.0" ,
24- "96qbhy/hyperf-auth" : " ^2.2"
25- },
26- "require-dev" : {
27- "phpunit/phpunit" : " ^8.0"
28- },
29- "suggest" : {
30- "hyperf-plus/route" : " ^1.*"
21+ "hyperf/redis" : " ^2.0.0" ,
22+ "hyperf-plus/route" : " ~2.1.0" ,
23+ "96qbhy/hyperf-auth" : " ^2.3" ,
24+ "hyperf-plus/ui" : " ~1.0.0" ,
25+ "hyperf/paginator" : " ~2.1.0"
3126 },
3227 "autoload" : {
3328 "psr-4" : {
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ protected function form()
9696 $ form ->item ('icon ' , '图标 ' )->component (IconChoose::make ())->ignoreEmpty ();
9797 $ form ->item ('uri ' , 'URI ' )->required ()
9898 ->help ('可以输入搜索 ' )
99- ->component (Select::make ()->filterable ()
99+ ->component (Select::make ()->filterable ()-> allowCreate ( "" )
100100 ->remote (route ('menu/route ' )))->inputWidth (450 );
101101 $ form ->item ('order ' , '排序 ' )->component (InputNumber::make (1 )->min (0 ));
102102 $ form ->item ('is_menu ' , '设为菜单 ' )->component (CSwitch::make (0 ));
You can’t perform that action at this time.
0 commit comments