Commit a6a95389 by cwq0219

接口修改

1 parent a6e6451e
......@@ -39,7 +39,7 @@ const getRoleList = {
const saveRoleList = {
p: [__sSaveRoleList],
req: params => GlAxios.post(__sSaveRoleList, params, { headers: { 'Content-Type': 'application/json; charset=utf-8' }})
req: params => GlAxios.post(__sSaveRoleList, params, { headers: { 'Content-Type': 'application/json; charset=utf-8' }, requestType: 'jsonString' })
}
const selectMenuTreeRoleId = {
......@@ -54,7 +54,7 @@ const selectUserRoleByRoleId = {
const updateRole = {
p: [__sUpdateRole],
req: params => GlAxios.post(__sUpdateRole, params, { headers: { 'Content-Type': 'application/json; charset=utf-8' }})
req: params => GlAxios.post(__sUpdateRole, params, { headers: { 'Content-Type': 'application/json; charset=utf-8' }, requestType: 'jsonString' })
}
export {
......
......@@ -130,7 +130,7 @@ export default {
console.log(err)
this.delErrTip()
})
: delMenu.req(obj).then(res => {
: delMenu.req({ menuId: obj.id }).then(res => {
this.delTip(true)
}).catch(err => {
console.log(err)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!