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;