This commit is contained in:
renna 2025-07-16 15:46:47 +08:00
parent 5b1d2ae100
commit 6aa4169371

View File

@ -5,7 +5,7 @@
<script setup>
import { ref, onMounted, onUnmounted, watch } from 'vue';
import { Overlay } from 'ol';
import selectIcon from '@/assets/images/select_icon.png';
// props
const props = defineProps({
map: Object,
@ -154,7 +154,7 @@ function createLabelContent(vehicleId, speed, alertInfo = {}) {
activeTabContent = `
<div class="tab-pane ${!activeTabFound ? 'active' : ''}" data-tab-content="warning" data-vehicle="${vehicleId}">
<div class="alert">
<img src="../../../assets/images/select_icon.png">
<img src="${selectIcon}" />
<span>冲突预警</span>
</div>
<div class="alert-message">${warningMessage}</div>