Skip to content

Commit

Permalink
Update index.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
kanyxmo authored Apr 14, 2023
1 parent 1da16c9 commit 1220a68
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/views/system/menu/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@
recovery: { show: true, api: menu.recoverys, auth: ['system:menu:recovery']},
formOption: { viewType: 'drawer', width: 600 },
isExpand: true,
beforeOpenAdd: () => columns[1].addDefaultValue = 0
beforeOpenAdd: () => {
columns[1].addDefaultValue = 0
return true
}
})

const columns = reactive([
Expand Down Expand Up @@ -207,4 +210,4 @@ export default { name: 'system:menu' }
.icon {
width: 1em;
}
</style>
</style>

0 comments on commit 1220a68

Please sign in to comment.