From f7b91684750a588f8f595693bb7c4459f6924c48 Mon Sep 17 00:00:00 2001 From: wanganxp Date: Mon, 3 Jun 2024 00:30:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=8A=E4=B8=BB=E9=A2=98=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B=E6=8C=AA=E5=88=B0=E7=95=8C=E9=9D=A2=E5=88=86?= =?UTF-8?q?=E7=BB=84=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/tabBar/API.uvue | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue index ca9a7bb7..fa122bd9 100644 --- a/pages/tabBar/API.uvue +++ b/pages/tabBar/API.uvue @@ -206,7 +206,14 @@ name: 'showToast轻提示框', url: 'toast', api: ["showToast"] - } + } + // #ifdef APP + ,{ + name: '主题切换', + url: 'theme-change', + api: ["setAppTheme","onOsThemeChange","offOsThemeChange","onAppThemeChange","offAppThemeChange"] + } + // #endif ] as Page[], }, { @@ -501,16 +508,6 @@ } ] as Page[], }, - { - id: 'theme-change', - name: '主题切换', - pages: [ - { - name: '主题切换', - url: 'theme-change', - } - ] as Page[] - }, // #endif { id: "payment", -- GitLab