fix:失败时打印请求URL
This commit is contained in:
parent
88af858483
commit
c7fe587318
@ -3090,6 +3090,7 @@ export default {
|
|||||||
},
|
},
|
||||||
fail: function(err) {
|
fail: function(err) {
|
||||||
console.error('【getNoIsbnBook】网络请求失败:', JSON.stringify(err))
|
console.error('【getNoIsbnBook】网络请求失败:', JSON.stringify(err))
|
||||||
|
console.error('【getNoIsbnBook】请求URL:', url)
|
||||||
uni.showToast({ title: '网络请求失败', icon: 'none', duration: 3000 })
|
uni.showToast({ title: '网络请求失败', icon: 'none', duration: 3000 })
|
||||||
if (typeof callback === 'function') callback.call(that, true)
|
if (typeof callback === 'function') callback.call(that, true)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user