tianyi 7 hours ago
parent
commit
fe2738452a
  1. 15
      App.vue

15
App.vue

@ -151,6 +151,21 @@
// #ifdef MP-WEIXIN
this.globalData.GaoDeKey_amapkey = '52de86da47be2ea547c37dd382025a0c'
// #endif
if(!uni.getStorageSync('bluetoothDeviceId')){
uni.showModal({
title: '提示',
content: '您还没有连接打印机,将无法为您打印小票!',
confirmText:'连接蓝牙',
cancelText:'暂不连接',
success: function (res) {
if (res.confirm) {
uni.navigateTo({
url:'/pages/myCenter/setPrint'
})
}
}
});
}
},
computed: {

Loading…
Cancel
Save