diff --git a/ruoyi-ui/src/components/BoardTopNav/index.vue b/ruoyi-ui/src/components/BoardTopNav/index.vue index b898a30..74eaf8a 100644 --- a/ruoyi-ui/src/components/BoardTopNav/index.vue +++ b/ruoyi-ui/src/components/BoardTopNav/index.vue @@ -14,11 +14,13 @@ {{ name }} - {{ - i.sceneName - }} - +
+ {{ + i.sceneName + }} + +
diff --git a/ruoyi-ui/src/views/board/GPS/index.vue b/ruoyi-ui/src/views/board/GPS/index.vue index fd79ef6..70901c8 100644 --- a/ruoyi-ui/src/views/board/GPS/index.vue +++ b/ruoyi-ui/src/views/board/GPS/index.vue @@ -84,6 +84,12 @@ export default { Chart, vueSeamlessScroll, }, + watch:{ + async $route(to,from){ + await this.getData() + console.log(123) + } + }, data() { return { num1: 0,