init commit
This commit is contained in:
@@ -238,7 +238,7 @@ IScan.offScanListener("order");
|
||||
listener.cancel();
|
||||
```
|
||||
|
||||
### `getStatus(): "scanning" | "closed"`
|
||||
### `getStatus(): "scanning" | "ready"`
|
||||
|
||||
获取当前扫码状态。
|
||||
|
||||
@@ -301,7 +301,7 @@ interface ScanResult {
|
||||
key: string;
|
||||
}
|
||||
|
||||
type ScanStatus = "scanning" | "closed";
|
||||
type ScanStatus = "scanning" | "ready";
|
||||
|
||||
type ScanResultCallback = (result: ScanResult) => any;
|
||||
type ScanStatusCallback = (status: ScanStatus) => any;
|
||||
|
||||
Reference in New Issue
Block a user