From 1536fff3b4373563733adb7d2078c6e3f4cf890e Mon Sep 17 00:00:00 2001 From: Charles7c Date: Tue, 15 Apr 2025 21:37:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E8=B5=9E=E5=8A=A9=E6=95=B0=E6=8D=AE=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/workplace/components/Carousel.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/dashboard/workplace/components/Carousel.vue b/src/views/dashboard/workplace/components/Carousel.vue index e9ec4db..5284438 100644 --- a/src/views/dashboard/workplace/components/Carousel.vue +++ b/src/views/dashboard/workplace/components/Carousel.vue @@ -48,10 +48,10 @@ const getDataList = async () => { try { loading.value = true const base = `https://continew.top` - const data = await (await fetch(`${base}/sponsor.json`)).json() + const data = await (await fetch(`${base}/sponsor.json?${new Date().getTime()}`)).json() if (data) { // 只获取 special 和 platinum 赞助者 - const sponsors = [...data.special, data.platinum] + const sponsors = [...data.special, ...data.platinum] sponsors.forEach((item) => { if (!item.name) { return