Skip to content

Commit

Permalink
移除添加一级菜单限制
Browse files Browse the repository at this point in the history
  • Loading branch information
tangllty committed Dec 28, 2023
1 parent c27d0b4 commit 46a77d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/views/system/menu/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,7 @@
<el-form-item label="菜单类型" prop="menuType">
<el-radio-group v-model="menuForm.menuType">
<el-radio label="D">目录</el-radio>
<el-radio label="M" :disabled="menuForm.parentId === 0"
>菜单</el-radio>
<el-radio label="M">菜单</el-radio>
<el-radio label="B" :disabled="menuForm.parentId === 0"
>按钮</el-radio>
</el-radio-group>
Expand Down

0 comments on commit 46a77d5

Please sign in to comment.