From e543372cc70a19ff2630c79d8421c2c593e54e5f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 02 六月 2021 17:15:21 +0800 Subject: [PATCH] 2021-06-02 --- src/pc/menushell/index.jsx | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/pc/menushell/index.jsx b/src/pc/menushell/index.jsx index 969e9ab..acc2b18 100644 --- a/src/pc/menushell/index.jsx +++ b/src/pc/menushell/index.jsx @@ -19,6 +19,10 @@ handleList({...menu, components: _cards}) setCards(_cards) } + + if (menu.components.length > cards.length) { + setCards(menu.components) + } const findCard = id => { const card = cards.filter(c => `${c.uuid}` === id)[0] @@ -102,6 +106,8 @@ code: '鑷畾涔�', navbar: '瀵艰埅鏍�', carousel: '杞挱', + dashboard: '浠〃鐩�', + tree: '鏍戝舰鍒楄〃', card: '鍗$墖', login: '鐧诲綍' } -- Gitblit v1.8.0