修复
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)) {
|
||||
return resp;
|
||||
}
|
||||
if (isScanning()) {
|
||||
return __startWxScan();
|
||||
}
|
||||
return resp;
|
||||
}).catch(err => {
|
||||
if (!isScanning()) {
|
||||
@@ -188,9 +185,6 @@ function __startWxScan() {
|
||||
if (__result(err.result)) {
|
||||
return err;
|
||||
}
|
||||
if (isScanning()) {
|
||||
return __startWxScan();
|
||||
}
|
||||
return err;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user