bug
This commit is contained in:
@@ -99,6 +99,14 @@ export default {
|
|||||||
watch: {
|
watch: {
|
||||||
areaId(v) {
|
areaId(v) {
|
||||||
v && (this.getFullArea())
|
v && (this.getFullArea())
|
||||||
|
},
|
||||||
|
|
||||||
|
fullArea: {
|
||||||
|
handler(v) {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.scrollHeight()
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
@@ -127,6 +135,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.fullArea = res.data
|
this.fullArea = res.data
|
||||||
}
|
}
|
||||||
|
|
||||||
return this.fullArea
|
return this.fullArea
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -142,7 +151,7 @@ export default {
|
|||||||
if (self.id) {
|
if (self.id) {
|
||||||
this.list.unshift(self)
|
this.list.unshift(self)
|
||||||
}
|
}
|
||||||
this.scrollHeight()
|
this.scrollHeight()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user