From f88f44271dd055a9a5aaa9b87a9eba5e1833e021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Thu, 12 Oct 2023 17:45:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/components/BoardTopNav/index.vue | 12 +++++++----- ruoyi-ui/src/views/board/GPS/index.vue | 6 ++++++ 2 files changed, 13 insertions(+), 5 deletions(-) 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,