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.
19 lines
337 B
19 lines
337 B
7 years ago
|
<cn>
|
||
|
#### 禁用
|
||
|
禁用某一项。
|
||
|
</cn>
|
||
|
|
||
|
<us>
|
||
|
#### Disabled
|
||
|
Disabled a tab.
|
||
|
</us>
|
||
|
|
||
|
```html
|
||
|
<template>
|
||
|
<a-tabs defaultActiveKey="1">
|
||
|
<a-tab-pane tab="Tab 1" key="1">Tab 1</a-tab-pane>
|
||
|
<a-tab-pane tab="Tab 2" disabled key="2">Tab 2</a-tab-pane>
|
||
|
<a-tab-pane tab="Tab 3" key="3">Tab 3</a-tab-pane>
|
||
|
</a-tabs>
|
||
|
</template>
|
||
|
```
|