From 364ca47a686b6a1dcc6374da50ccde9ebe1b05b0 Mon Sep 17 00:00:00 2001 From: lizhongyi Date: Wed, 21 Aug 2024 12:53:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=8F=E8=94=BDget-battery-info=E5=9C=A8iOS?= =?UTF-8?q?=E4=B8=8A=E6=88=AA=E5=9B=BE=E6=B5=8B=E8=AF=95=EF=BC=8C=E9=81=BF?= =?UTF-8?q?=E5=85=8D=E4=BD=8E=E7=89=88=E6=9C=AC=E4=B8=8A=E7=9A=84uts?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E7=BC=96=E8=AF=91=E5=A4=B1=E8=B4=A5=E5=BC=95?= =?UTF-8?q?=E5=8F=91=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 2c6c36e11e61f37fb4885b2f1d5f2d6ef172d83f) --- pages/pages.test.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pages/pages.test.js b/pages/pages.test.js index f80703ab..b14e8103 100755 --- a/pages/pages.test.js +++ b/pages/pages.test.js @@ -156,7 +156,7 @@ const pages = [ '/pages/API/get-network-type/get-network-type', '/pages/API/page-scroll-to/page-scroll-to', '/pages/API/event-bus/event-bus', - '/pages/API/get-battery-info/get-battery-info', + // '/pages/API/get-battery-info/get-battery-info', '/pages/API/get-window-info/get-window-info', '/pages/API/rpx2px/rpx2px', '/pages/API/request-payment/request-payment/request-payment-uni-pay', @@ -270,7 +270,13 @@ const pages = [ '/pages/template/custom-long-list/custom-long-list', '/pages/template/test-background-color-content/test-background-color-content', '/pages/template/slider-100/slider-100', -] +] + +if (isAndroid && isWeb) { + pages.push( + '/pages/API/get-battery-info/get-battery-info', + ) +} if (isApp && !isAppWebview) { pages.push( -- GitLab