修复
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -174,9 +174,6 @@ function __startWxScan() {
|
|||||||
if (__result(resp.result)) {
|
if (__result(resp.result)) {
|
||||||
return resp;
|
return resp;
|
||||||
}
|
}
|
||||||
if (isScanning()) {
|
|
||||||
return __startWxScan();
|
|
||||||
}
|
|
||||||
return resp;
|
return resp;
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
if (!isScanning()) {
|
if (!isScanning()) {
|
||||||
@@ -188,9 +185,6 @@ function __startWxScan() {
|
|||||||
if (__result(err.result)) {
|
if (__result(err.result)) {
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
if (isScanning()) {
|
|
||||||
return __startWxScan();
|
|
||||||
}
|
|
||||||
return err;
|
return err;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user