From 34b5cb9940cb69d9588b092059bac4cc8baf9bfd Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期一, 19 九月 2022 11:01:44 +0800
Subject: [PATCH] 修复管理员权限的页面打开方式,添加title设置

---
 src/views/search/components/Banner.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/views/search/components/Banner.vue b/src/views/search/components/Banner.vue
index 9a3248b..1065dfb 100644
--- a/src/views/search/components/Banner.vue
+++ b/src/views/search/components/Banner.vue
@@ -17,9 +17,12 @@
       console.log(JSON.parse(sessionStorage.getItem("userInfo")).id);
       await enableMenu({
         userId: JSON.parse(sessionStorage.getItem("userInfo")).id,
-        menuId: "statisticMng",
+        menuId: "89098e9f-baaa-4a69-9e9b-26444dd69ff6",
       });
-      this.$router.push("/search");
+      const { href } = this.$router.resolve({
+        path: "/search",
+      });
+      window.open(href, "_blank");
     },
   },
 };

--
Gitblit v1.8.0