杨哲调试
This commit is contained in:
parent
6870af63cb
commit
c56f7fb553
|
@ -195,6 +195,12 @@ export default {
|
|||
}
|
||||
const res = await GetAwaitUploadAreaApi(req)
|
||||
console.log(res, 'res---')
|
||||
uni.showModal({
|
||||
title: "开发调试查看",
|
||||
content: JSON.stringify(res) || "未传入参数 initFn",
|
||||
showCancel: true,
|
||||
success: function (res) {},
|
||||
});
|
||||
// 刷卡失败
|
||||
if (!res.succeed) {
|
||||
console.log('%c%s', 'color:red', '刷卡失败')
|
||||
|
@ -205,22 +211,11 @@ export default {
|
|||
this.successShow = false
|
||||
return
|
||||
}
|
||||
|
||||
// 刷卡成功
|
||||
this.successShow = true
|
||||
// 同时关闭失败弹窗
|
||||
this.errorShow = false
|
||||
return
|
||||
if (data) {
|
||||
console.log('%c%s', 'color:red', 'nfc刷卡成功')
|
||||
this.successShow = true
|
||||
// 同时关闭失败弹窗
|
||||
this.errorShow = false
|
||||
} else {
|
||||
console.log('%c%s', 'color:red', '刷卡失败')
|
||||
this.errorShow = true
|
||||
// 同时关闭成功弹窗
|
||||
this.successShow = false
|
||||
}
|
||||
},
|
||||
// 上传图片
|
||||
toUploadPage() {
|
||||
|
|
Loading…
Reference in New Issue