From 6a73bb012b58559bde0e523622abc9f3f45432dd Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期二, 17 十月 2023 09:57:03 +0800 Subject: [PATCH] # --- Monitor-APP/pages/home/home.vue | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Monitor-APP/pages/home/home.vue b/Monitor-APP/pages/home/home.vue index b428b98..cbac60f 100644 --- a/Monitor-APP/pages/home/home.vue +++ b/Monitor-APP/pages/home/home.vue @@ -198,11 +198,13 @@ const BasePort = uni.getStorageSync('BasePort'); const BaseCrnId = uni.getStorageSync('BaseCrnId'); const PROJ = uni.getStorageSync('UPROJ'); + const CURRENT = uni.getStorageSync('current'); that.baseUrl = PROJ that.baseIP = BaseIP that.baseLedId = BaseLedId that.basePort = BasePort that.baseCrnId = BaseCrnId + that.current = CURRENT this.getUrl() this.getVisualized() }, @@ -512,6 +514,7 @@ uni.setStorageSync('BasePort',this.basePort); uni.setStorageSync('BaseCrnId',this.baseCrnId); uni.setStorageSync('UPROJ',this.baseUrl); + uni.setStorageSync('current',this.current); this.getUrl() this.ejectShow = false }, -- Gitblit v1.9.1