This commit is contained in:
2025-09-18 17:41:27 +08:00
parent b52206d721
commit 6bdb34a86e
7 changed files with 18 additions and 40 deletions

View File

@@ -96,19 +96,13 @@
}
try {
let res = await vehicleIn(this.val2, this.val1, this.index)
if (res.code === '200') {
if (res) {
uni.showToast({
title: res.message,
icon: 'none'
})
this.clearUp()
} else {
uni.showToast({
title: res.message,
icon: 'none'
})
this.disabled = false
}
this.clearUp()
} catch (e) {
this.disabled = false
}