|
@ -288,7 +288,8 @@ export default { |
|
|
}, |
|
|
}, |
|
|
async opened() { |
|
|
async opened() { |
|
|
if (!this.isBinding) { |
|
|
if (!this.isBinding) { |
|
|
this.devId = await this.getDevId() |
|
|
|
|
|
|
|
|
// this.devId = await this.getDevId() |
|
|
|
|
|
this.devId = 'D002' |
|
|
await this.tryConnect({ op: 'RFID_CheckStatus', sDevID: this.devId }) |
|
|
await this.tryConnect({ op: 'RFID_CheckStatus', sDevID: this.devId }) |
|
|
await this.readEpc({ op: 'RFID_ReadEpc', sDevID: this.devId }) |
|
|
await this.readEpc({ op: 'RFID_ReadEpc', sDevID: this.devId }) |
|
|
await this.startBind() |
|
|
await this.startBind() |
|
|