Commit 10017b47 authored by xxx's avatar xxx

1

parent 13cd2204
...@@ -382,7 +382,7 @@ export default { ...@@ -382,7 +382,7 @@ export default {
This.dialogCancel(); This.dialogCancel();
This.reclog((isUserNotAllow?"UserNotAllow,":"")+"打开失败:"+msg,1); This.reclog((isUserNotAllow?"UserNotAllow,":"")+"打开失败:"+msg,1);
This.$notify({ This.$notify({
title: '录音权限未打开,请手动开启(1)', title: '录音权限未打开,请手动开启!',
type: 'warning', type: 'warning',
duration: 5000 duration: 5000
}); });
...@@ -392,7 +392,7 @@ export default { ...@@ -392,7 +392,7 @@ export default {
This.dialogCancel(); This.dialogCancel();
This.reclog("打开失败:权限请求被忽略,用户主动点击的弹窗",1); This.reclog("打开失败:权限请求被忽略,用户主动点击的弹窗",1);
This.$notify({ This.$notify({
title: '录音权限未打开,请手动开启(2)', title: '录音权限未打开,请手动开启!',
type: 'warning', type: 'warning',
duration: 5000 duration: 5000
}); });
......
...@@ -402,6 +402,7 @@ export default { ...@@ -402,6 +402,7 @@ export default {
let LoaObj1xy = {}; let LoaObj1xy = {};
//判断该车是否在行驶状态 //判断该车是否在行驶状态
let drivingDistance = that.getDistanceIndex(that.navigatorXY.y,that.navigatorXY.x,position.coords.latitude,position.coords.longitude); let drivingDistance = that.getDistanceIndex(that.navigatorXY.y,that.navigatorXY.x,position.coords.latitude,position.coords.longitude);
console.log('drivingDistance',drivingDistance);
if(drivingDistance <= 30 || drivingDistance >= 10000){ if(drivingDistance <= 30 || drivingDistance >= 10000){
that.leftBtnDisable = true; that.leftBtnDisable = true;
}else{ }else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment