From 2b99047683332624832c1dfcae596e957a710b7d Mon Sep 17 00:00:00 2001 From: ZZJ <10913410+zzj2100@user.noreply.gitee.com> Date: 星期四, 28 七月 2022 10:20:49 +0800 Subject: [PATCH] bug修复 --- src/views/manageCenter/index.vue | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/views/manageCenter/index.vue b/src/views/manageCenter/index.vue index 62667e4..7a85ad9 100644 --- a/src/views/manageCenter/index.vue +++ b/src/views/manageCenter/index.vue @@ -872,6 +872,13 @@ return item == route.permission; }); if (val) { + if (route.path === "/search") { + const { href } = this.$router.resolve({ + path: "/search", + }); + window.open(href, "_blank"); + return; + } this.$router.push(route.path); } else if (!userInfo.parentId) { this.$router.push(route.openPath); @@ -1234,7 +1241,7 @@ .item { display: flex; - justify-content: end; + justify-content: flex-end; align-items: center; .label { -- Gitblit v1.8.0