Browse Source

绑定桌面式RFID读写器

master
z_yu 3 years ago
parent
commit
4c1df03253
  1. 4
      src/views/components/BindingTagDlg.vue

4
src/views/components/BindingTagDlg.vue

@ -288,8 +288,8 @@ export default {
}, },
async opened() { async opened() {
if (!this.isBinding) { if (!this.isBinding) {
// this.devId = await this.getDevId()
this.devId = 'D001'
this.devId = await this.getDevId()
// this.devId = 'D001'
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()

Loading…
Cancel
Save