加上next
mounted() {
this.$bus.$on('unitObject', (item) => {
this.$emit('update:unitData', item)
this.$nextTick(()=>{
this.$emit('update:boreholeUnitCardShow', true)
})
})
},
加上next
mounted() {
this.$bus.$on('unitObject', (item) => {
this.$emit('update:unitData', item)
this.$nextTick(()=>{
this.$emit('update:boreholeUnitCardShow', true)
})
})
},