From ff1296b2da187a72238d81f1ca792f4626a5da58 Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期二, 07 一月 2025 11:31:58 +0800
Subject: [PATCH] 获取业务类型树返回图标数据

---
 Source/plt-web/plt-web-ui/src/store/modules/user.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/store/modules/user.js b/Source/plt-web/plt-web-ui/src/store/modules/user.js
index 8e1fbc3..3a33a35 100644
--- a/Source/plt-web/plt-web-ui/src/store/modules/user.js
+++ b/Source/plt-web/plt-web-ui/src/store/modules/user.js
@@ -16,7 +16,7 @@
   const propsDefault = {
     label: propsConfig.label || 'name',
     path: propsConfig.path || 'path',
-    icon: propsConfig.icon || 'icon',
+    icon: propsConfig.icon || 'source',
     children: propsConfig.children || 'children',
   }
   const icon = ele[propsDefault.icon];
@@ -36,7 +36,7 @@
 function updateCode(items) {
   items.forEach(item => {
     item.pathValue = item.path;
-    item.path = '/' + item.code;
+    item.path = '/' + item.id;
     item.query = {}; // 鍒濆鍖� item.query
     if (item.pathValue.indexOf('?') != -1) {
       item.query = queryStringToObject(item.pathValue)

--
Gitblit v1.9.3