uu
This commit is contained in:
parent
2934cec3e0
commit
fb7b14cb24
@ -31,12 +31,8 @@
|
||||
}
|
||||
},
|
||||
created() {
|
||||
let { hongWaiSwitch } = getSessionSystemInfo()
|
||||
// 红外开启,才可使用该功能
|
||||
if(hongWaiSwitch) {
|
||||
this.initScan()
|
||||
this.startScan();
|
||||
}
|
||||
this.initScan()
|
||||
this.startScan();
|
||||
},
|
||||
onHide() {
|
||||
// this.stopScan();
|
||||
@ -88,6 +84,12 @@
|
||||
// #endif
|
||||
},
|
||||
queryCode: function(code) {
|
||||
let { hongWaiSwitch } = getSessionSystemInfo()
|
||||
// 红外开启,才可使用该功能
|
||||
if(!hongWaiSwitch) {
|
||||
return false;
|
||||
}
|
||||
|
||||
let that = this;
|
||||
// #ifdef APP
|
||||
console.log('queryCode');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user