From d4130131876cbd791e3ed20061036be5f8302197 Mon Sep 17 00:00:00 2001 From: qingzhengli <1204552371@qq.com> Date: Mon, 25 Mar 2024 14:55:11 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=A1=A9=E5=8F=B7=E5=BC=80=E5=90=AFflag?= =?UTF-8?q?=E6=8C=81=E4=B9=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/Home/components/HomeVector/index.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeVector/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeVector/index.vue index 6ef928bf..cabf11e3 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeVector/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeVector/index.vue @@ -1,10 +1,10 @@ @@ -25,6 +25,9 @@ export default { activeIcon: null, }; }, + created() { + this.activeIcon = window.showStakeText ? 'Vector' : null; + }, methods: { handleClick(type) { this.activeIcon = this.activeIcon === type ? null : type;