Skip to content

Commit 29c8cfb

Browse files
committed
fix : 修复 支付宝小程序 亮度 api 报错的问题。
1 parent 11b7baa commit 29c8cfb

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

‎pages/tabBar/API/API.vue‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,13 @@
165165
name: '剪贴板',
166166
url: 'clipboard'
167167
},
168-
{
169-
name: '屏幕亮度',
170-
url: 'brightness'
171-
},
172-
//#endif
168+
//#endif
169+
// #ifndef H5 || MP-ALIPAY
170+
{
171+
name: '屏幕亮度',
172+
url: 'brightness'
173+
},
174+
// #endif
173175
{
174176
name: '监听加速度传感器',
175177
url: 'on-accelerometer-change'

0 commit comments

Comments
 (0)