Compare commits
2 Commits
c569f255b6
...
b77e33f001
| Author | SHA1 | Date | |
|---|---|---|---|
| b77e33f001 | |||
| 6aa4169371 |
@ -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,
|
||||
@ -155,7 +155,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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user