Commit f67fcdc7 authored by zhangyichen's avatar zhangyichen

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

parent e9ee5711
...@@ -528,9 +528,12 @@ export default { ...@@ -528,9 +528,12 @@ export default {
this.menuOptionDataIdList.push(item.id) this.menuOptionDataIdList.push(item.id)
}) })
} }
const list = document.querySelectorAll('.el-tree-node__label') this.$nextTick(() => {
list.forEach(item => { const list = document.querySelectorAll('.el-tree-node__label')
item.title = item.innerText console.log(list)
list.forEach(item => {
item.title = item.innerText
})
}) })
}) })
} }
......
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