提交 096483a5 编写于 作者: D DCloud_LXH

feat(mp-weixin): getAppAuthorizeSetting protocols

上级 431d4fc9
export default {
returnValue: function (result) {
const { locationReducedAccuracy } = result
result.locationAccuracy = 'unsupported'
if (locationReducedAccuracy === true) {
result.locationAccuracy = 'reduced'
} else if (locationReducedAccuracy === false) {
result.locationAccuracy = 'full'
}
}
}
......@@ -6,6 +6,7 @@ import showActionSheet from '../../helpers/show-action-sheet'
import getAppBaseInfo from '../../helpers/get-app-base-info'
import getDeviceInfo from '../../helpers/get-device-info'
import getWindowInfo from '../../helpers/get-window-info'
import getAppAuthorizeSetting from '../../helpers/get-app-authorize-setting'
export const protocols = {
redirectTo,
......@@ -16,7 +17,8 @@ export const protocols = {
showActionSheet,
getAppBaseInfo,
getDeviceInfo,
getWindowInfo
getWindowInfo,
getAppAuthorizeSetting
}
export const todos = [
'vibrate',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册