菜单更新

This commit is contained in:
ludj
2022-11-30 16:26:44 +08:00
parent 67a4def2cc
commit 3cdefdd4d8
4 changed files with 19 additions and 23 deletions

View File

@@ -31,7 +31,10 @@ export function getSelectList() {
}
export function getMenuSuperior(ids) {
const data = ids.length || ids.length === 0 ? ids : Array.of(ids)
// const data = ids.length || ids.length === 0 ? ids : Array.of(ids)
const data = {
'ids': ids
}
return request({
url: 'api/menus/superior',
method: 'post',