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 @@ - +