Commit 5fcf342f5a08cc7dec3bdd53445c6c5c69c52b80
1 parent
c89722a7
修改sass为node-sass,避免el-icon图标乱码
Showing
3 changed files
with
3 additions
and
3 deletions
ruoyi-ui/src/components/HeaderSearch/index.vue
ruoyi-ui/src/layout/components/TagsView/ScrollPane.vue
ruoyi-ui/src/utils/ruoyi.js
| ... | ... | @@ -131,7 +131,7 @@ export function handleTree(data, id, parentId, children, rootId) { |
| 131 | 131 | id = id || 'id' |
| 132 | 132 | parentId = parentId || 'parentId' |
| 133 | 133 | children = children || 'children' |
| 134 | - rootId = rootId || Math.min.apply(Math,data.map(item => { return item[parentId] })) || 0 | |
| 134 | + rootId = rootId || Math.min.apply(Math, data.map(item => { return item[parentId] })) || 0 | |
| 135 | 135 | //对源数据深度克隆 |
| 136 | 136 | const cloneData = JSON.parse(JSON.stringify(data)) |
| 137 | 137 | //循环所有项 | ... | ... |