feat:修改

This commit is contained in:
wxs 2026-01-29 11:51:26 +08:00
parent 28120a841b
commit f203fd4ec7

View File

@ -520,9 +520,6 @@ export default {
readyUavLocation() { readyUavLocation() {
return this.uavReady && this.loaderReady return this.uavReady && this.loaderReady
}, },
readLoaderUavCount() {
return this.form.uav + this.form.loader
}
}, },
watch: { watch: {
visible: { visible: {
@ -598,9 +595,9 @@ export default {
}, },
deep: true deep: true
}, },
readLoaderUavCount: { 'form.loader': {
handler: function () { handler: function () {
this.uavLoaderChange() this.loaderChange()
}, },
}, },
readyUavLocation(nv) { readyUavLocation(nv) {
@ -913,8 +910,8 @@ export default {
} }
}, },
uavLoaderChange() { loaderChange() {
if (this.form.uav && this.form.loader) { if (this.form.loader) {
getLastStatus({ payloadId: this.form.loader }).then(res => { getLastStatus({ payloadId: this.form.loader }).then(res => {
const data = res.data.data const data = res.data.data
this.form.targetList.forEach(el => { this.form.targetList.forEach(el => {