|
|
@ -126,7 +126,7 @@ |
|
|
|
> |
|
|
|
<img |
|
|
|
class="icon" |
|
|
|
:src="getImgUrl(`${baseUrl}/icons/pos_end.svg`)" |
|
|
|
:src="`${baseUrl}/icons/pos_end.svg`" |
|
|
|
alt="" |
|
|
|
/> |
|
|
|
设定终点 |
|
|
@ -279,9 +279,6 @@ export default { |
|
|
|
}, |
|
|
|
mounted() {}, |
|
|
|
methods: { |
|
|
|
getImgUrl(url) { |
|
|
|
return window.location.host + url; |
|
|
|
}, |
|
|
|
handleDraw(type, iconName) { |
|
|
|
if (!this.canEdit) return; |
|
|
|
this.$refs.syMapRef.draw(type, iconName); |
|
|
|