diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue index ca9a7bb7cc2a4aabe8b8720bb1831418295568a0..fa122bd9edfbb44d0ad0d746d29ee35ca577d295 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",