Tabs的value当前激活 tab 面板的 name,可以展示相应项;但是只有初始加载是有效;当重新显示指定显示项没有用
能用的是 this.$refs.tabs.activeKey = ‘name1’ ,activeKey是活动的TabPane 对应的值是TabPane 中的name值(name1)
<Tabs ref="tabs">
<TabPane label="" name="alarmInfo">
</TabPane>
<TabPane label="" name="alarmVideo" >
</TabPane>
</Tabs>
this.$refs.tabs.activeKey = 'alarmInfo'