update example

This commit is contained in:
Sergio Crisostomo 2018-05-04 15:32:37 +02:00
parent 7be1069a93
commit 58efc281ef

View file

@ -158,10 +158,20 @@
<!--</script>--> <!--</script>-->
<template> <template>
<Tabs type="card"> <div>
<TabPane v-for="tab in tabs" :key="tab" :label="'标签' + tab">标签{{ tab }}</TabPane> <i-input></i-input>
<Button type="ghost" @click="handleTabsAdd" size="small" slot="extra">增加</Button> <Button type="ghost" @click="handleTabsAdd" size="small" slot="extra">增加</Button>
<hr style="margin: 10px 0;">
<Tabs type="card">
<TabPane v-for="tab in tabs" :key="tab" :label="'Tab' + tab">
<div>
<h3>Some text...</h3>
<i-button>Some focusable content...{{ tab }}</i-button>
</div>
</TabPane>
</Tabs> </Tabs>
</div>
</template> </template>
<script> <script>
export default { export default {