fix(回调): 失败回调清除
This commit is contained in:
parent
3db467c67b
commit
308c08ebac
@ -792,9 +792,9 @@ const connectToApp = async () => {
|
|||||||
console.groupEnd()
|
console.groupEnd()
|
||||||
|
|
||||||
// 触发连接失败回调
|
// 触发连接失败回调
|
||||||
if (onConnectionFailed) {
|
// if (onConnectionFailed) {
|
||||||
onConnectionFailed(error)
|
// onConnectionFailed(error)
|
||||||
}
|
// }
|
||||||
|
|
||||||
// 连接失败的特殊处理
|
// 连接失败的特殊处理
|
||||||
if (error.message && error.message.includes('parse access')) {
|
if (error.message && error.message.includes('parse access')) {
|
||||||
|
|||||||
@ -884,9 +884,9 @@ const connectToApp = async () => {
|
|||||||
console.groupEnd()
|
console.groupEnd()
|
||||||
|
|
||||||
// 触发连接失败回调
|
// 触发连接失败回调
|
||||||
if (onConnectionFailed) {
|
// if (onConnectionFailed) {
|
||||||
onConnectionFailed(error)
|
// onConnectionFailed(error)
|
||||||
}
|
// }
|
||||||
|
|
||||||
// 连接失败的特殊处理
|
// 连接失败的特殊处理
|
||||||
if (error.message && error.message.includes('parse access')) {
|
if (error.message && error.message.includes('parse access')) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user