From 7528d44d20d12b0b3044fb19e58c2f68c1cebf94 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 20 十一月 2024 15:40:25 +0800 Subject: [PATCH] 系统模块配置修改树节点图标 --- Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue b/Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue index 6806f68..e0c2963 100644 --- a/Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue +++ b/Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue @@ -7,7 +7,7 @@ @node-click="nodeClick"> <span slot-scope="{ node, data }" class="el-tree-node__label"> <span style="font-size: 15px"> - <i class="el-icon-s-promotion"></i> + <i :class="data.icon"></i> {{ (node || {}).label }} </span> </span> @@ -252,7 +252,8 @@ ...item, id: item.id, name: item.name, - leaf: !item.hasChildren + leaf: !item.hasChildren, + icon: item.source || 'iconfont iconicon_work' } })) }) -- Gitblit v1.9.3