修改菜单排序
This commit is contained in:
@@ -63,8 +63,8 @@ export function delMenu(menuId) {
|
||||
export function changeMenuSort(data) {
|
||||
return request({
|
||||
url: '/system/Menu/ChangeSort',
|
||||
method: 'post',
|
||||
data: data
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -75,4 +75,4 @@ export const getRouters = (query) => {
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -425,7 +425,7 @@ export default {
|
||||
*/
|
||||
handleChangeSort(item) {
|
||||
this.editIndex = -1;
|
||||
changeMenuSort({ orderNum: item.orderNum, menuId: item.menuId }).then(
|
||||
changeMenuSort({ value: item.orderNum, id: item.menuId }).then(
|
||||
(response) => {
|
||||
this.msgSuccess("修改成功");
|
||||
this.getList();
|
||||
|
||||
Reference in New Issue
Block a user