feat:样品库管理
This commit is contained in:
7
App.vue
7
App.vue
@@ -4,7 +4,7 @@ import { onLaunch, onShow, onError } from '@dcloudio/uni-app'
|
||||
import { NxInit } from './nx'
|
||||
import $store from '@/nx/store'
|
||||
// #ifdef APP-PLUS
|
||||
import * as chainway from '@/uni_modules/zzjc-chainway-p100'
|
||||
import * as urovo from '@/uni_modules/zzjc-urovo'
|
||||
// #endif
|
||||
onLaunch(async () => {
|
||||
// 加载nx底层依赖
|
||||
@@ -15,9 +15,8 @@ onLaunch(async () => {
|
||||
if (brand === 'chainway') {
|
||||
plus.screen.lockOrientation('landscape')
|
||||
}
|
||||
|
||||
chainway.scanRegister(data => {
|
||||
console.log('扫码结果:' + data)
|
||||
urovo.scanRegister(data => {
|
||||
console.log('优博讯扫码结果:' + data)
|
||||
$store('biz').scanQRInfo = data
|
||||
})
|
||||
// #endif
|
||||
|
||||
Reference in New Issue
Block a user