杨哲调试

This commit is contained in:
李彪 2025-04-30 14:24:58 +08:00
parent 6870af63cb
commit c56f7fb553
1 changed files with 7 additions and 12 deletions

View File

@ -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() {