From 78951cb3808354f5015a68f7161b039d29916755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E9=B9=8F?= Date: Thu, 27 Mar 2025 17:08:26 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E5=88=86=E5=8C=85?= =?UTF-8?q?=E9=A2=84=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 9 ++------- utils/request.js | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/pages.json b/pages.json index 608d6ac..34f4479 100644 --- a/pages.json +++ b/pages.json @@ -555,15 +555,10 @@ ], "preloadRule": { "pages/main/home": { - "packages": ["pages/others"] + "packages": ["pages/others", "pages/addDeviceForBluetooth"] }, "pages/main/lockDetail": { - "packages": [ - "pages/lockUserManage", - "pages/featureForBluetooth", - "pages/settingForBluetooth", - "pages/addDeviceForBluetooth" - ] + "packages": ["pages/lockUserManage", "pages/featureForBluetooth", "pages/settingForBluetooth"] }, "pages/main/mine": { "packages": ["pages/user"] diff --git a/utils/request.js b/utils/request.js index 28be732..a1a0a1d 100644 --- a/utils/request.js +++ b/utils/request.js @@ -54,7 +54,7 @@ const request = config => { showCancel: false, success() { uni.reLaunch({ - url: '/pages/home/home' + url: '/pages/main/home' }) } })