mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
add alert
This commit is contained in:
@@ -135,6 +135,8 @@ async function searchMusic(keyword: string) {
|
||||
})
|
||||
if (data.code == 200) {
|
||||
return data.data
|
||||
} else if (data.code == 404) {
|
||||
message.error('未找到包含关键词: ' + keyword + ' 的歌曲')
|
||||
}
|
||||
return undefined
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user