This commit is contained in:
2024-03-19 10:07:38 +08:00
parent 455d1b96e2
commit fd049136f2
4 changed files with 21 additions and 11 deletions

View File

@@ -103,7 +103,11 @@
return
}
try {
let res = await unbindVehicle(this.val1, this.options1[this.index1].value, this.val2)
let type = ''
if (this.index1 !== '') {
type = this.options1[this.index1].value
}
let res = await unbindVehicle(this.val1, type, this.val2)
this.clearUp()
uni.showToast({
title: res.message,