From 4134eef47e174ad78f508d11e9b1fd8086546cd3 Mon Sep 17 00:00:00 2001 From: lld <15027638633@163.com> Date: Tue, 3 Feb 2026 19:10:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=94=A8=E6=88=B7=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C=E7=8A=B6=E6=80=81=EF=BC=8C=E5=8F=8A=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E9=9A=90=E7=A7=81=EF=BC=8Ctoken=E4=B8=8D=E8=BF=87=E6=9C=9F?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E8=B7=B3=E5=88=B0=E8=AE=BE=E5=A4=87=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E5=99=A8=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 2 +- config.js | 4 ++-- pages/control/index.vue | 18 ++++++++++++++---- static/{protocol.html => privacy.html} | 0 4 files changed, 17 insertions(+), 7 deletions(-) rename static/{protocol.html => privacy.html} (100%) diff --git a/App.vue b/App.vue index 3e62cdb..4e49130 100644 --- a/App.vue +++ b/App.vue @@ -60,7 +60,7 @@ export default { console.log('小程序切前台/首次显示') const token = getToken() || this.globalData.mqtt.token if (token) { - + this.$tab.reLaunch('/pages/control/index') // 兜底检查:如果globalData里没有列表,但缓存里有,补充恢复 if (this.globalData.mqtt.subscribeList.length === 0) { const savedSubscribeList = uni.getStorageSync('mqtt_subscribe_list') diff --git a/config.js b/config.js index b5fa8fd..d141ff0 100644 --- a/config.js +++ b/config.js @@ -15,11 +15,11 @@ module.exports = { // 政策协议 agreements: [{ title: "隐私政策", - url: "https://ruoyi.vip/protocol.html" + url: "https://privacy.xiaoces.com/privacy.html" }, { title: "用户服务协议", - url: "https://ruoyi.vip/protocol.html" + url: "https://privacy.xiaoces.com/privacy.html" } ] } diff --git a/pages/control/index.vue b/pages/control/index.vue index 561da32..ffccaaa 100644 --- a/pages/control/index.vue +++ b/pages/control/index.vue @@ -76,7 +76,7 @@ - +