change
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user