Commit a875af9e authored by jiangqihao's avatar jiangqihao

权限登录

parent 05a36d7b
......@@ -79,8 +79,6 @@ const mutations = {
const actions = {
generateRoutes({ commit }) {
console.log('2')
console.log(JSON.parse(localStorage.getItem('PATHS')))
return new Promise(resolve => {
const paths = JSON.parse(localStorage.getItem('PATHS'))
let accessedRoutes
......@@ -95,7 +93,6 @@ const actions = {
})
},
async getPermissions({ commit }, roleId) {
console.log("1")
await normalRequest(role.searchOneUrl, { id: roleId }).then(res => {
var menus = res.results.data.results[0].RoleToMenuMenuList
var permissions = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment