This commit is contained in:
2025-03-27 12:33:08 +08:00
parent 36a14b5aa3
commit b471fd27e9

View File

@@ -96,9 +96,6 @@
async _queryDeviceByarea (e) {
let res = await queryDeviceByarea(e)
if (res && res.data) {
res.data.map(el => {
el.value = el.text
})
this.options3 = [...res.data]
}
},
@@ -137,7 +134,13 @@
return
}
try {
let res = await cutUpShaft(this.index2, this.index3, this.index1, this.upL, this.upR)
let txt1 = ''
this.options1.map(el => {
if (el.value === this.index1) {
txt1 = el.text
}
})
let res = await cutUpShaft(this.index2, this.index3, txt1, this.upL, this.upR)
this.disabled = false
uni.showToast({
title: res.message,