update example
This commit is contained in:
parent
7be1069a93
commit
58efc281ef
1 changed files with 13 additions and 3 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue