<el-tabs v-model="tabSel">
<el-tab-pane name="basic_info">
<div v-html="details.info"></div>
</el-tab-pane>
<el-tab-pane name="fullCalendar_info">
<mine-fullcalendar ref="mFc"></mine-fullcalendar>
</el-tab-pane>
</el-tabs>
watch:{
tabSel(){
if(this.tabSel === 'book_info') {
this.$nextTick(() => {
let sd = this.$refs.mFc.$refs.fullCalendar
sd.$options.calendar.render() //重绘方法 表格显示正常
})
}
}
}