可以在标签中用v-ref:索引名 来绑定索引名
可以在组件中用this.$ref.索引名来调用
使用mint-ui,可以用<mt-navbar>来创建两个按钮
<mt-navbar>
<mt-tab-item>
<mt-button type='default'>
</mt-button>
</mt-tab-item>
<mt-tab-item>
<mt-button>
</mt-button>
<mt-tab-item>
</mt-navbar>
这样可以有两个一样大小的按钮