fix:失败时打印请求URL

This commit is contained in:
ShenQiLun 2026-07-01 15:12:27 +08:00
parent 88af858483
commit c7fe587318

View File

@ -3090,6 +3090,7 @@ export default {
},
fail: function(err) {
console.error('【getNoIsbnBook】网络请求失败:', JSON.stringify(err))
console.error('【getNoIsbnBook】请求URL:', url)
uni.showToast({ title: '网络请求失败', icon: 'none', duration: 3000 })
if (typeof callback === 'function') callback.call(that, true)
}