From f2ef9272ed076bdca33d21b39bcc671e576553b3 Mon Sep 17 00:00:00 2001 From: ZZJ <10913410+zzj2100@user.noreply.gitee.com> Date: 星期二, 27 九月 2022 11:30:04 +0800 Subject: [PATCH] 添加场景的 时间段的添加编辑删除 加请求字段devid --- 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