From e9eb9ee7bec1dd64e3b9a494a2814a5bc3952709 Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期五, 27 十二月 2024 11:57:43 +0800 Subject: [PATCH] 1、主要优化业务类型加载过慢由于重复加载平台的属性、枚举数据,属性数据通过第一次加载全部进行传递解决,枚举数据通过新增枚举的本地线程工具类来进行实现。 --- Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue | 8 +++----- 1 files changed, 3 insertions(+), 5 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 ce496d7..07d2c1a 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 @@ -6,9 +6,8 @@ <avue-tree :key="refresh" ref="tree" :data="treeData" :option="treeOption" node-key="id" @node-click="nodeClick"> <span slot-scope="{ node, data }" class="el-tree-node__label"> - <span> -<!-- <i :class="data.icon"></i>--> - <icon-show :name="data.icon"></icon-show> + <span style="display: flex"> + <icon-show :name="data.icon"></icon-show> {{ (node || {}).label }} </span> </span> @@ -251,7 +250,7 @@ id: item.id, name: item.name, leaf: !item.hasChildren, - icon: item.source || 'el-icon-s-home' + icon: item.source || 'iconoir:home' } })) }) @@ -554,5 +553,4 @@ justify-content: left; margin-bottom: 15px; } - </style> -- Gitblit v1.9.3