From 9d22ed07aea07601c527188ff9e5d2b38dab149e Mon Sep 17 00:00:00 2001 From: mark <mark18340872469@163.com> Date: 星期五, 30 九月 2022 14:50:32 +0800 Subject: [PATCH] 总开关 先不上 --- src/views/hashrate/components/Banner.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/views/hashrate/components/Banner.vue b/src/views/hashrate/components/Banner.vue index d0a84f6..dcb2f18 100644 --- a/src/views/hashrate/components/Banner.vue +++ b/src/views/hashrate/components/Banner.vue @@ -11,9 +11,15 @@ </template> <script> +import { enableMenu } from "@/api/user"; + export default { methods: { - jump() { + async jump() { + await enableMenu({ + userId: JSON.parse(sessionStorage.getItem("userInfo")).id, + menuId: "d440fbef-1fea-4ce6-927f-990a2e923223", + }); this.$router.push("/hashrateDetail"); }, }, -- Gitblit v1.8.0