接口
This commit is contained in:
@@ -48,13 +48,16 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {getQueryString }from '@/util/index.js'
|
||||
export default {
|
||||
methods: {
|
||||
handleScan() {
|
||||
uni.scanCode({
|
||||
success: (res) => {
|
||||
let deviceNo = getQueryString(res.path,'deviceNo')
|
||||
// console.log(res.path);
|
||||
uni.navigateTo({
|
||||
url: `/pages/device/detail?deviceId=${res.result}`
|
||||
url: `/pages/serve/bagCheck/index?deviceNo=${deviceNo}`
|
||||
})
|
||||
},
|
||||
fail: (err) => {
|
||||
|
||||
Reference in New Issue
Block a user