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