From 11f8757ad7c69086007ce6482ccadfdd9dac7b21 Mon Sep 17 00:00:00 2001 From: log1997 <2694233102@qq.com> Date: Thu, 4 Dec 2025 15:28:02 +0800 Subject: [PATCH] =?UTF-8?q?fix(MusicConfig):=20=E7=A7=BB=E9=99=A4=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E5=AF=B9=E8=AF=9D=E6=A1=86=E4=B8=AD=E7=9A=84=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E4=B8=8A=E4=BC=A0=E6=8F=90=E7=A4=BA=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除了 UploadDialog 组件中不再使用的图片上传状态提示逻辑, 包括相关的响应式变量 imgUploadToast 及其对应的模板代码。 此变更简化了组件结构并移除了未使用的错误提示功能。 --- .../Global/MusicConfig/components/UploadDialog.vue | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/views/Config/Global/MusicConfig/components/UploadDialog.vue b/src/views/Config/Global/MusicConfig/components/UploadDialog.vue index 2cdff75..f04b939 100644 --- a/src/views/Config/Global/MusicConfig/components/UploadDialog.vue +++ b/src/views/Config/Global/MusicConfig/components/UploadDialog.vue @@ -12,7 +12,6 @@ import useStore from '@/store' const toast = useToast() const { t } = useI18n() const limitType = ref('audio/*') -const imgUploadToast = ref(0) // 0是不显示,1是成功,2是失败,3是不是图片 const visible = defineModel('visible', { type: Boolean, required: true, @@ -96,17 +95,6 @@ watch(visible, (newVal) => {