feat:样品库管理
This commit is contained in:
13
App.vue
13
App.vue
@@ -12,13 +12,16 @@ onLaunch(async () => {
|
||||
// #ifdef APP-PLUS
|
||||
let sysInfo = uni.getSystemInfoSync()
|
||||
let brand = sysInfo.brand.toLowerCase()
|
||||
if (brand === 'chainway') {
|
||||
|
||||
if (brand === 'huawei') {
|
||||
plus.screen.lockOrientation('landscape')
|
||||
}
|
||||
urovo.scanRegister(data => {
|
||||
console.log('优博讯扫码结果:' + data)
|
||||
$store('biz').scanQRInfo = data
|
||||
})
|
||||
if (brand === 'urovo') {
|
||||
urovo.scanRegister(data => {
|
||||
console.log('优博讯扫码结果:' + data)
|
||||
$store('biz').scanQRInfo = data
|
||||
})
|
||||
}
|
||||
// #endif
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user