From a7c36079cfc062a7922e60ae0443ac2785881c2e Mon Sep 17 00:00:00 2001 From: yangsy Date: Mon, 22 Dec 2025 14:37:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=8C=87=E5=90=91mini?= =?UTF-8?q?o=E7=9A=84=E8=AF=B7=E6=B1=82=E6=9C=AA=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E6=88=B3=E5=8F=82=E6=95=B0=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/station/station-card/station-card.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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`);