update
This commit is contained in:
parent
cbd57d2f36
commit
10e9fa3f22
@ -88,7 +88,7 @@ class Ai {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
if (res.status && res.status !== 200) {
|
if (res.status && res.status !== 200) {
|
||||||
return false
|
throw new Error('请求失败')
|
||||||
}
|
}
|
||||||
return res.body.getReader()
|
return res.body.getReader()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user