You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/components/tabs/demo/extra.md

21 lines
472 B

<cn>
#### 附加内容
可以在页签右边添加附加操作。
</cn>
<us>
#### Extra content
You can add extra actions to the right of Tabs.
</us>
```html
<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>
```