1.0.0 • Published 1 year ago
@szlx/uni-authorize v1.0.0
请求权限
请求小程序相关授权
Installtion
npm i @szlx/uni-authorize
Usage
import authorize from '@szlx/uni-authorize'
authorize({
scope: 'userLocation',
success: () => {}, // 成功
fail: () => {}, // 失败
refuse: () => {} // 拒绝
})
1.0.0
1 year ago