Commit cff971d2 authored by 邓春圆's avatar 邓春圆

添加 nextTick

parent 8ab8085b
...@@ -108,9 +108,11 @@ export default { ...@@ -108,9 +108,11 @@ export default {
}, },
mounted() { mounted() {
this.value1 = this.value this.value1 = this.value
if(!this.value1.airWeightLimit){ this.$nextTick(()=>{
this.value1.airWeightLimit = this.screenCom if(!this.value1.airWeightLimit){
} this.value1.airWeightLimit = this.screenCom
}
})
this.$nextTick(()=>{ this.$nextTick(()=>{
if(this.value1[this.keyArr] && this.value1[this.keyArr].length === 0){ if(this.value1[this.keyArr] && this.value1[this.keyArr].length === 0){
this.addInterval() this.addInterval()
......
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