Commit 40047988 authored by jingnan's avatar jingnan 👀

app权限修改

parent ae470113
......@@ -138,7 +138,8 @@ export default {
this.cardList.forEach(app => {
const menuIdx = permMenus.findIndex(g => g.name === app.title)
if (menuIdx > -1) {
app.hasPermission = !!permMenus.find(h => h.parentId && h.name === app.title)
// app.hasPermission = !!permMenus.find(h => h.parentId && h.name === app.title)
app.hasPermission = !!permMenus.find(h => h.name === app.title)
}
})
}
......
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