Commit f2631e2d authored by xxx's avatar xxx

1

parent 1d7da969
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> <link rel="icon" href="<%= BASE_URL %>favicon.ico">
<script src="https://cdn.bootcss.com/eruda/1.5.8/eruda.min.js"></script> <script src="https://cdn.bootcss.com/eruda/1.5.8/eruda.min.js"></script>
<script> <script>
eruda.init(); //eruda.init();
</script> </script>
<!-- <title><%= htmlWebpackPlugin.options.title %></title> --> <!-- <title><%= htmlWebpackPlugin.options.title %></title> -->
......
...@@ -72,8 +72,11 @@ export default { ...@@ -72,8 +72,11 @@ export default {
this.getCookie(); this.getCookie();
}, },
mounted() { mounted() {
//两种方法相互冲突,每次只需要一种,并且获取的id不一样
//app获取设备号方法 //app获取设备号方法
this.appGetDeviceId(); this.appGetDeviceId();
//5+app获取OAID方法 //5+app获取OAID方法
// if (window.plus) { // if (window.plus) {
// this.plusReady(); // this.plusReady();
......
...@@ -398,7 +398,6 @@ export default { ...@@ -398,7 +398,6 @@ 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