From 7577e0d40354021d70b78d58b712ff8c2e8ad485 Mon Sep 17 00:00:00 2001
From: ludc <ludc@vci-tech.com>
Date: 星期五, 03 一月 2025 10:47:33 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/plt-web/plt-web-ui/src/router/avue-router.js |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/router/avue-router.js b/Source/plt-web/plt-web-ui/src/router/avue-router.js
index d1d798e..e3f8fbe 100644
--- a/Source/plt-web/plt-web-ui/src/router/avue-router.js
+++ b/Source/plt-web/plt-web-ui/src/router/avue-router.js
@@ -57,7 +57,6 @@
     },
     //澶勭悊璺敱
     getPath: function (params) {
-      console.log('params',params)
       let {src} = params;
       let result = src || '/';
       if (isURL(src)) {
@@ -99,10 +98,10 @@
       // 璁剧疆 props榛樿鍊� 浣滅敤灏辨槸灏嗗瓧娈佃缃垚閰嶇疆鐨�
       const propsDefault = {
         label: propsConfig.label || 'name',
-        path: 'code',
-        code: 'code',
+        path: propsConfig.path,
+        code: 'id',//鍙栧敮涓�鏍囪瘑
         pathValue: 'pathValue',
-        icon: propsConfig.icon || 'icon',
+        icon: propsConfig.icon || 'source',
         children: propsConfig.children || 'children',
         meta: propsConfig.meta || 'meta',
       }

--
Gitblit v1.9.3