2018-03-22 14:17:35 +00:00
|
|
|
<cn>
|
|
|
|
#### 附加内容
|
|
|
|
可以在页签右边添加附加操作。
|
|
|
|
</cn>
|
|
|
|
|
|
|
|
<us>
|
|
|
|
#### Extra content
|
|
|
|
You can add extra actions to the right of Tabs.
|
|
|
|
</us>
|
|
|
|
|
2019-10-09 10:32:23 +00:00
|
|
|
```tpl
|
2018-03-22 14:17:35 +00:00
|
|
|
<template>
|
|
|
|
<a-tabs>
|
|
|
|
<a-tab-pane tab="Tab 1" key="1">Content of tab 1</a-tab-pane>
|
|
|
|
<a-tab-pane tab="Tab 2" key="2">Content of tab 2</a-tab-pane>
|
|
|
|
<a-tab-pane tab="Tab 3" key="3">Content of tab 3</a-tab-pane>
|
|
|
|
<a-button slot="tabBarExtraContent">Extra Action</a-button>
|
|
|
|
</a-tabs>
|
|
|
|
</template>
|
|
|
|
```
|