fix:遗漏问题

main
Tuzki 1 year ago
parent 49576ac61b
commit a92064b05e
  1. 4
      pages/addUserinfo/addUserinfo.vue
  2. 6
      pages/index.vue
  3. 2
      pages/orderDetail/orderDetail.vue

@ -307,7 +307,7 @@ export default {
fail: (res) => {
uni.hideLoading()
uni.showToast({
title: '读取错误,请重试',
title: '读取错误',
icon: 'none'
});
// thisPage.errorMessage = '' + res.msg + ', ' + res.code;
@ -324,7 +324,7 @@ export default {
setTimeout(()=>{
uni.hideLoading()
uni.showToast({
title:'识别超时,请重试'
title:'识别超时'
})
plus.globalEvent.removeEventListener('newintent');
},10000)

@ -14,7 +14,7 @@
</view>
</view>
<view class="m-drived-colum"></view>
<view class="m-head-content" @click="goNFC">
<view class="m-head-content">
<view class="m-nums seal">{{ ticketNum }}</view>
<view class="m-text">
<image src="/static/images/index/icon_sheet-number.png" alt="" />
@ -126,6 +126,8 @@ export default {
// })
},
goList() {
uni.removeStorageSync('ALL_TICKET')
uni.removeStorageSync('EVENT')
uni.navigateTo({
url: '/pages/ticketCheckingRecord'
});
@ -215,6 +217,8 @@ export default {
});
},
scanCode() {
uni.removeStorageSync('ALL_TICKET')
uni.removeStorageSync('EVENT')
uni.scanCode({
onlyFromCamera: true,
scanType: ['qrCode'],

@ -82,6 +82,8 @@ export default {
};
},
onLoad(params) {
uni.removeStorageSync('ALL_TICKET')
uni.removeStorageSync('EVENT')
if (params.order) {
this.orderDetail = null;
this.orderDetail = JSON.parse(params.order);

Loading…
Cancel
Save