mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2026-01-22 23:50:22 +08:00
style: lint
This commit is contained in:
@@ -16,9 +16,9 @@ export default {
|
||||
// 登出
|
||||
logout: () => request.post('/auth/logout'),
|
||||
// 切换当前角色
|
||||
switchCurrentRole: (role) => request.post(`/auth/current-role/switch/${role}`),
|
||||
switchCurrentRole: role => request.post(`/auth/current-role/switch/${role}`),
|
||||
// 获取角色权限
|
||||
getRolePermissions: () => request.get('/role/permissions/tree'),
|
||||
// 验证菜单路径
|
||||
validateMenuPath: (path) => request.get(`/permission/menu/validate?path=${path}`),
|
||||
validateMenuPath: path => request.get(`/permission/menu/validate?path=${path}`),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user