From 3ca9a7b5bcf5511054d6a069037453536df64288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E4=B8=87?= <52823142+Ten-K@users.noreply.github.com> Date: Wed, 8 May 2024 15:59:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E5=A4=96=E9=93=BE=E4=BC=9A=E8=B7=B3=E8=BD=AC=E4=B8=A4=E6=AC=A1?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=20(#1133)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mock/asyncRoutes.ts | 48 +++++++++---------- .../components/lay-sidebar/NavHorizontal.vue | 1 - .../components/lay-sidebar/NavVertical.vue | 1 - 3 files changed, 24 insertions(+), 26 deletions(-) diff --git a/mock/asyncRoutes.ts b/mock/asyncRoutes.ts index 0addbde83e..4f2fab7394 100644 --- a/mock/asyncRoutes.ts +++ b/mock/asyncRoutes.ts @@ -146,30 +146,6 @@ const frameRouter = { rank: frame }, children: [ - { - path: "/iframe/external", - meta: { - title: "menus.pureExternalDoc" - }, - children: [ - { - path: "/external", - name: "https://pure-admin.github.io/pure-admin-doc", - meta: { - title: "menus.pureExternalLink", - roles: ["admin", "common"] - } - }, - { - path: "/pureUtilsLink", - name: "https://pure-admin-utils.netlify.app/", - meta: { - title: "menus.pureUtilsLink", - roles: ["admin", "common"] - } - } - ] - }, { path: "/iframe/embedded", meta: { @@ -257,6 +233,30 @@ const frameRouter = { } } ] + }, + { + path: "/iframe/external", + meta: { + title: "menus.pureExternalDoc" + }, + children: [ + { + path: "/external", + name: "https://pure-admin.github.io/pure-admin-doc", + meta: { + title: "menus.pureExternalLink", + roles: ["admin", "common"] + } + }, + { + path: "/pureUtilsLink", + name: "https://pure-admin-utils.netlify.app/", + meta: { + title: "menus.pureUtilsLink", + roles: ["admin", "common"] + } + } + ] } ] }; diff --git a/src/layout/components/lay-sidebar/NavHorizontal.vue b/src/layout/components/lay-sidebar/NavHorizontal.vue index a334e179ff..19a17bb29e 100644 --- a/src/layout/components/lay-sidebar/NavHorizontal.vue +++ b/src/layout/components/lay-sidebar/NavHorizontal.vue @@ -53,7 +53,6 @@ nextTick(() => { { :class="[device === 'mobile' ? 'mobile' : 'pc']" >