feat:优化无人机载荷和区域的交互逻辑

This commit is contained in:
wxs 2026-01-29 11:33:53 +08:00
parent 7c7d22f22b
commit 28120a841b
2 changed files with 12 additions and 4 deletions

View File

@ -177,7 +177,8 @@ export default {
value: 'SAR'
}
],
loaderOptions: [],
loaderOptions: [
],
ratioOptions: [
{
label: '0.1m',
@ -294,7 +295,8 @@ export default {
value: 3
},
],
uavOptions: [],
uavOptions: [
],
duringAirlinePick: false,
calculateMap: [
{
@ -517,6 +519,9 @@ export default {
},
readyUavLocation() {
return this.uavReady && this.loaderReady
},
readLoaderUavCount() {
return this.form.uav + this.form.loader
}
},
watch: {
@ -593,6 +598,11 @@ export default {
},
deep: true
},
readLoaderUavCount: {
handler: function () {
this.uavLoaderChange()
},
},
readyUavLocation(nv) {
if (nv) {
// this.refreshUavHeight()

View File

@ -170,7 +170,6 @@
popper-class="form-light"
size="small"
v-model="form.uav"
@change="uavLoaderChange"
>
<el-option
v-for="item in uavOptions"
@ -185,7 +184,6 @@
popper-class="form-light"
size="small"
v-model="form.loader"
@change="uavLoaderChange"
>
<el-option
v-for="item in loaderOptions"