增加地图标记点编辑
This commit is contained in:
		| @@ -47,6 +47,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     onCancel() { | ||||
|       this.$emit('input', false) | ||||
|       this.$emit('update:visible', false) | ||||
|       this.$emit('onCancel') | ||||
|       this.$emit('cancel') | ||||
|   | ||||
| @@ -133,7 +133,7 @@ export default { | ||||
|     }, | ||||
|     addPulseLines(city) { | ||||
|       let {amap: map, mapLib: lib, pulseLines} = this | ||||
|       if (pulseLines && lib && map) { | ||||
|       if (pulseLines && lib && map && city) { | ||||
|         this.loca = new Loca.Container({map: this.amap}) | ||||
|         let ls = new lib.LineSearch({pageSize: 1, pageNum: 1, city}), lines = { | ||||
|           type: "FeatureCollection", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user