改进媒体设备改变暂停播放逻辑
This commit is contained in:
@@ -107,7 +107,7 @@ export const httpFetch = (url, options = { method: 'get' }) => {
|
||||
* @param {*} index
|
||||
*/
|
||||
export const cancelHttp = requestObj => {
|
||||
console.log(requestObj)
|
||||
// console.log(requestObj)
|
||||
if (!requestObj) return
|
||||
console.log('cancel:', requestObj.href)
|
||||
requestObj.abort()
|
||||
|
||||
Reference in New Issue
Block a user