From f4aa9884e288969a7f92284714b83a3e805684db Mon Sep 17 00:00:00 2001
From: HenryDu8133 <813367384@qq.com>
Date: Sun, 6 Sep 2026 11:14:30 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A0=E9=99=A4=204=20=E4=B8=AA?=
=?UTF-8?q?=E5=B7=B2=E6=B8=85=E7=90=86=20Modal=20=E7=9A=84=E6=AE=8B?=
=?UTF-8?q?=E7=95=99=20import/ref/template=EF=BC=88ScheduleList=20+=20Requ?=
=?UTF-8?q?estForm=EF=BC=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/components/Songs/RequestForm.vue | 14 --------------
app/components/Songs/ScheduleList.vue | 25 -------------------------
2 files changed, 39 deletions(-)
diff --git a/app/components/Songs/RequestForm.vue b/app/components/Songs/RequestForm.vue
index 12909ef..cadb028 100644
--- a/app/components/Songs/RequestForm.vue
+++ b/app/components/Songs/RequestForm.vue
@@ -849,10 +849,6 @@ import Icon from '../UI/Icon.vue'
import { convertToHttps, validateUrl } from '~/utils/url'
import ImportSongsModal from './ImportSongsModal.vue'
-import NeteaseLoginModal from './NeteaseLoginModal.vue'
-import PodcastEpisodesModal from './PodcastEpisodesModal.vue'
-import BilibiliEpisodesModal from './BilibiliEpisodesModal.vue'
-import RecentSongsModal from './RecentSongsModal.vue'
import PlaylistSelectionModal from './PlaylistSelectionModal.vue'
import UserSearchModal from '../Common/UserSearchModal.vue'
import NeteaseUploadDialog from './NeteaseUploadDialog.vue'
@@ -980,12 +976,10 @@ const neteaseCookie = ref('')
const searchType = ref(1) // 1: 单曲, 1009: 播客/电台
// 播客弹窗相关
-const showPodcastModal = ref(false)
const selectedPodcastId = ref('')
const selectedPodcastName = ref('')
const podcastCookie = ref('')
-const showRecentSongsModal = ref(false)
const showPlaylistModal = ref(false)
const showUserSearchModal = ref(false)
const collaborators = ref([])
@@ -1020,7 +1014,6 @@ const searchError = ref('')
// 手动输入相关
const showManualModal = ref(false)
-const showBilibiliEpisodesModal = ref(false)
const selectedBilibiliVideo = ref(null)
const bilibiliEpisodes = ref([])
const manualArtist = ref('')
@@ -1584,7 +1577,6 @@ const openSimilarEpisodesModal = (group) => {
selectedBilibiliVideo.value = videoData
bilibiliEpisodes.value = videoData.pages
- showBilibiliEpisodesModal.value = true
}
// 处理剧集投票
@@ -1684,7 +1676,6 @@ const handleLikeFromSearch = async (song, originalResult = null) => {
if (originalResult && isBilibiliMultiP(originalResult)) {
selectedBilibiliVideo.value = originalResult
bilibiliEpisodes.value = originalResult.pages
- showBilibiliEpisodesModal.value = true
return
}
@@ -2127,7 +2118,6 @@ const submitSong = async (result, options = {}) => {
selectedPodcastId.value = result.id || result.musicId
selectedPodcastName.value = result.title || result.song || result.name
podcastCookie.value = neteaseCookie.value
- showPodcastModal.value = true
return
}
@@ -2141,7 +2131,6 @@ const submitSong = async (result, options = {}) => {
console.log('打开 Bilibili 剧集列表:', result)
selectedBilibiliVideo.value = result
bilibiliEpisodes.value = result.pages
- showBilibiliEpisodesModal.value = true
return
}
@@ -2381,7 +2370,6 @@ const handleBilibiliEpisodeSelect = async (episode) => {
})
if (success) {
- showBilibiliEpisodesModal.value = false
if (bilibiliModalRef.value && bilibiliModalRef.value.resetSubmissionState) {
bilibiliModalRef.value.resetSubmissionState()
}
@@ -2418,7 +2406,6 @@ const playlistModalRef = ref(null)
const handlePodcastSubmit = async (song) => {
const success = await submitSong(song, { isPodcastEpisode: true })
if (success) {
- showPodcastModal.value = false
} else {
// 如果失败,重置模态框内的提交状态
if (podcastModalRef.value && podcastModalRef.value.resetSubmissionState) {
@@ -2437,7 +2424,6 @@ const handlePodcastPlay = async (song) => {
const handleRecentSongSubmit = async (song) => {
const success = await submitSong(song, { isPodcastEpisode: false, isDirectSubmit: true })
if (success) {
- showRecentSongsModal.value = false
} else {
// 如果失败,重置模态框内的提交状态
if (recentSongsModalRef.value && recentSongsModalRef.value.resetSubmissionState) {
diff --git a/app/components/Songs/ScheduleList.vue b/app/components/Songs/ScheduleList.vue
index 0a5b247..ffb3b5e 100644
--- a/app/components/Songs/ScheduleList.vue
+++ b/app/components/Songs/ScheduleList.vue
@@ -331,13 +331,6 @@
需要登录网易云音乐账号才能管理歌单
-