更新
This commit is contained in:
@ -153,11 +153,11 @@ export default {
|
||||
locate(item) {
|
||||
window.clicknum++
|
||||
// 获取 localStorage.setItem("gpsCom", this.gpsVal);
|
||||
let gpsCom = localStorage.getItem("gpsCom");
|
||||
if (!gpsCom) {
|
||||
this.$message.warning("请先设置串口");
|
||||
return;
|
||||
}
|
||||
// let gpsCom = localStorage.getItem("gpsCom");
|
||||
// if (!gpsCom) {
|
||||
// this.$message.warning("请先设置串口");
|
||||
// return;
|
||||
// }
|
||||
if (window.clicknum == 1) {
|
||||
this.clickTimer = setTimeout(() => {
|
||||
let host = new URL(getIP()).host;
|
||||
|
Reference in New Issue
Block a user