From a42c6f16bbb177dfcc754d53d925afddead38eba Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期二, 12 十一月 2024 22:51:26 +0800
Subject: [PATCH] 包装规则中查询更新,判断存在更新

---
 src/layouts/default/menu/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/layouts/default/menu/index.vue b/src/layouts/default/menu/index.vue
index b403ff3..b0f37b2 100644
--- a/src/layouts/default/menu/index.vue
+++ b/src/layouts/default/menu/index.vue
@@ -133,14 +133,14 @@
                 crudColSlots.push(_cruds[i]['colSlot']);
               }
             }
-            const id = { ID: path.split('/')[1], colSlots: colSlots, crudColSlots: crudColSlots, sName: '' };
+            const id = { ID: path.split('/')[1], colSlots: colSlots, crudColSlots: crudColSlots };
             go(`/${path.split('/')[1]}/${path.split('/')[2]}/${encodeURI(JSON.stringify(id))}`);
           });
         } else if (
           (path.split('/').length > 2 && path.split('/')[2] == 'High') ||
           path.split('/')[2] == 'CP'
         ) {
-          const id = { Name: path.split('/')[1] };
+          const id = { Name: path.split('/')[1], Title: `${path.split('/')[1]}`,};
           go(`/${path.split('/')[1]}/${path.split('/')[2]}/${encodeURI(JSON.stringify(id))}`);
         } else {
           go(path);

--
Gitblit v1.9.3