diff --git a/src/components/station/station-card/station-card.vue b/src/components/station/station-card/station-card.vue index 1b8ca50..8bf62c2 100644 --- a/src/components/station/station-card/station-card.vue +++ b/src/components/station/station-card/station-card.vue @@ -3,6 +3,7 @@ import type { Station, StationAlarms, StationDevices } from '@/apis'; import { DEVICE_TYPE_LITERALS } from '@/enums'; import { EllipsisOutlined, MoreOutlined } from '@vicons/antd'; import axios from 'axios'; +import dayjs from 'dayjs'; import { isFunction } from 'es-toolkit'; import { NButton, NCard, NCheckbox, NDropdown, NFlex, NIcon, NTag, NTooltip, useThemeVars, type DropdownOption } from 'naive-ui'; import { computed, toRefs } from 'vue'; @@ -49,7 +50,7 @@ const alarmCount = computed(() => { const openVideoPlatform = async () => { try { - const response = await axios.get>('/minio/ndm/ndm-vimps.json'); + const response = await axios.get>(`/minio/ndm/ndm-vimps.json?_t=${dayjs().unix()}`); const url = response.data[station.value.code]; if (!url) { window.$message.warning(`未找到车站编码 ${station.value.code} 对应的视频平台URL`);