@ -73,7 +73,19 @@
},
watch: {
dataContent: {
handler(newName, oldName) {
if (this.dataContent.subList.length > 0) {
if (this.$refs.collapse1 != undefined && this.$refs.collapse1 != null) {
this.$nextTick(res => {
this.$refs.collapse1.resize()
})
}
immediate: true,
deep: true
data() {
@ -69,7 +69,19 @@
@ -62,8 +62,8 @@
default: {}
locationTypeList: {
type: Object,
type: Array,
default: []