Commit d7b89814 authored by jingnan's avatar jingnan 👀

站位计划维护系统默认1101架机,左侧树结构修改为懒加载

parent b4d42146
...@@ -255,7 +255,7 @@ export default { ...@@ -255,7 +255,7 @@ export default {
}) })
this.$nextTick(() => { this.$nextTick(() => {
if (this.sortiesData.length) { if (this.sortiesData.length) {
this.form.sorties = this.sortiesData[0].value this.form.sorties = this.sortiesData.find(s => s.label === '1101').value
} }
}) })
} else { } else {
......
...@@ -269,7 +269,7 @@ export default { ...@@ -269,7 +269,7 @@ export default {
}) })
this.$nextTick(() => { this.$nextTick(() => {
if (this.sortiesData.length) { if (this.sortiesData.length) {
this.form.sorties = this.sortiesData[0].value this.form.sorties = this.sortiesData.find(s => s.label === '1101').value
} }
}) })
} else { } else {
......
...@@ -224,7 +224,7 @@ export default { ...@@ -224,7 +224,7 @@ export default {
}) })
this.$nextTick(() => { this.$nextTick(() => {
if (this.sortiesData.length) { if (this.sortiesData.length) {
this.form.sorties = this.sortiesData[0].value this.form.sorties = this.sortiesData.find(s => s.label === '1101').value
} }
}) })
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment