From 986aa62ed00bee39363bab41b4eeb8259d446efd Mon Sep 17 00:00:00 2001
From: ludc <ludc@vci-tech.com>
Date: 星期四, 16 一月 2025 18:20:32 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/plt-web/plt-web-ui/src/router/avue-router.js |    7 ++++---
 1 files changed, 4 insertions(+), 3 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 8236f72..1b04180 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
@@ -98,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',
       }
@@ -150,6 +150,7 @@
           icon = oMenu[propsDefault.icon],
           children = oMenu[propsDefault.children],
           meta = oMenu[propsDefault.meta] || {};
+        meta.keepAlive=true;
         // meta涓� keepalive 鐨勫鐞�
         meta = Object.assign(meta, (function () {
           if (option.keepAlive === true) {

--
Gitblit v1.9.3