Commit 3a8ad5d9 authored by zhanglw's avatar zhanglw

取消地磅

parent 2a61db1c
...@@ -221,7 +221,7 @@ export default { ...@@ -221,7 +221,7 @@ export default {
}); });
this.queryOrder(); this.queryOrder();
this.$parent.clearNavigation(); this.$parent.clearNavigation();
this.audioPlayByUrl(gdb); // this.audioPlayByUrl(gdb);
} else { } else {
this.$notify({ this.$notify({
title: '网络异常,请稍后再试', title: '网络异常,请稍后再试',
...@@ -385,4 +385,4 @@ export default { ...@@ -385,4 +385,4 @@ export default {
cursor: pointer; cursor: pointer;
} }
} }
</style> </style>
\ No newline at end of file
...@@ -660,10 +660,10 @@ export default { ...@@ -660,10 +660,10 @@ export default {
return; return;
} }
const cont = await window.SerialPort.receive(); const cont = await window.SerialPort.receive();
// this.$message({ this.$message({
// message: cont, message: cont,
// type: "warning", type: "warning",
// }); });
if(cont){ if(cont){
let strArr = cont.split(','); let strArr = cont.split(',');
// let wgLat = this.dmsTransform(strArr[2]), wgLon = this.dmsTransform(strArr[4]), h = Number(strArr[9] || 0), p = Number(strArr[6]); // let wgLat = this.dmsTransform(strArr[2]), wgLon = this.dmsTransform(strArr[4]), h = Number(strArr[9] || 0), p = Number(strArr[6]);
......
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