问题修复

This commit is contained in:
hongchao 2025-08-29 11:22:50 +08:00
parent 21952c3eef
commit fc9dacb7c7
1 changed files with 5 additions and 2 deletions

View File

@ -147,9 +147,12 @@ const rightClick = () => {
//
const handleScanSuccessBox = (result) => {
boxCode.value = result?.data?.split('?qrcode=')[1] || result?.data || ''
if (boxCode.value === '') {
if (boxCode.value == '') {
uni.showToast({ title: '扫码识别失败', icon: 'none' })
} else {
} else if(boxCode.value == '操作已取消'){
boxCode.value = ''
uni.showToast({ title: '操作已取消', icon: 'none' })
}else {
boxInBound()
}
}