| | |
| | | var that = this; |
| | | window.addEventListener("message", res => { |
| | | if (this.setTimeInterval) { |
| | | clearInterval(this.setTimeInterval); |
| | | clearInterval(this.setTimeInterval); |
| | | this.setTimeInterval = null; |
| | | |
| | | } |
| | |
| | | var rom = mapData.msgMach.lineRoam; |
| | | var closeRomData = mapData.msgMach.closeRoam; |
| | | var acceptData =mapData.msgMach.acceptMsg; |
| | | console.log(result) |
| | | var valRest = rest.filter((rs) => { |
| | | if (param.indexOf(rs) > -1) { |
| | | return rs; |
| | |
| | | }) |
| | | if (accept.length > 0) { |
| | | rpc.getFuzzyQuery(result) |
| | | }else{ |
| | | vueEvents.$emit("queryData", false); |
| | | rpc.setClearAllMsg(); |
| | | rpc.setMapRest(); |
| | | } |
| | | |
| | | |
| | | // else{ |
| | | // vueEvents.$emit("queryData", false); |
| | | // rpc.setClearAllMsg(); |
| | | // rpc.setMapRest(); |
| | | // } |
| | | |
| | | |
| | | |