uniapp uni-collapse动态切换数据时高度不能自适应
需单独调用方法更新
this.$nextTick(() => {
if (this.$refs.collapseBox) {
this.$refs.collapseBox.resize()
}
})
需单独调用方法更新
this.$nextTick(() => {
if (this.$refs.collapseBox) {
this.$refs.collapseBox.resize()
}
})