修复mg源歌单标签、排行榜歌曲列表无法加载的问题
This commit is contained in:
@@ -109,7 +109,7 @@ export const httpFetch = (url, options = { method: 'get' }) => {
|
||||
export const cancelHttp = requestObj => {
|
||||
// console.log(requestObj)
|
||||
if (!requestObj) return
|
||||
console.log('cancel:', requestObj)
|
||||
// console.log('cancel:', requestObj)
|
||||
if (!requestObj.abort) return
|
||||
requestObj.abort()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user