Skip to content

Commit 76e5a04

Browse files
authored
Fix delete menu
1 parent 4b11f1b commit 76e5a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/AppPluginCreateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public static function uninstall(\$version)
236236
{
237237
// 删除菜单
238238
foreach (static::getMenus() as \$menu) {
239-
Menu::delete(\$menu['name']);
239+
Menu::delete(\$menu['key']);
240240
}
241241
}
242242

0 commit comments

Comments
 (0)