在测试时,无反映,既无正确输出,也无错误输出!我是这样写的
const FUN_AMapLocation = uni.requireNativePlugin('FUN-AmapLocation');
export default {
onLoad() {
FUN_AMapLocation.permission({}, result => {
console.log('====fUN_AmapLocation定位====', JSON.stringify(result));
});
FUN_AMapLocation.start({
intervalTime: 5000,
reportInterval: 5,
isReport: false
}, result => {
console.log('====fUN_AmapLocation定位====', JSON.stringify(result));
});
}
}
0 个回复