Commit f67fcdc7 authored by zhangyichen's avatar zhangyichen

修改bug 56485 角色管理-数据权限-超长菜单名称显示不完整

parent e9ee5711
...@@ -528,11 +528,14 @@ export default { ...@@ -528,11 +528,14 @@ export default {
this.menuOptionDataIdList.push(item.id) this.menuOptionDataIdList.push(item.id)
}) })
} }
this.$nextTick(() => {
const list = document.querySelectorAll('.el-tree-node__label') const list = document.querySelectorAll('.el-tree-node__label')
console.log(list)
list.forEach(item => { list.forEach(item => {
item.title = item.innerText item.title = item.innerText
}) })
}) })
})
} }
}, },
/** 根据角色ID和菜单ID查询部门树结构 */ /** 根据角色ID和菜单ID查询部门树结构 */
......
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