Replies: 3 comments 2 replies
-
|
不能。 就算这里选择了菜单,也不会直接执行SQL语句,可以在自己执行时, 修改SQL语句中的parent_id |
Beta Was this translation helpful? Give feedback.
0 replies
-
改成0后,自己执行
|
Beta Was this translation helpful? Give feedback.
2 replies
-
|
后面可以做个优化, 上级菜单 改成非必填, 没选就默认是1级菜单 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
如图所示,这里必须选择一个已存在的菜单,那么生成的菜单至少是二级的了。
当前有办法实现生成一级菜单吗?还是只能修改代码加入parent_id = 0的选择?
Beta Was this translation helpful? Give feedback.
All reactions