18 lines
428 B
Markdown
18 lines
428 B
Markdown
|
::: demo
|
||
|
<summary>
|
||
|
#### 按钮类型
|
||
|
按钮有四种类型:主按钮、次按钮、虚线按钮、危险按钮。主按钮在同一个操作区域最多出现一次。
|
||
|
</summary>
|
||
|
|
||
|
```html
|
||
|
<template>
|
||
|
<div class='test'>
|
||
|
<a-button type="primary">Primary</a-button>
|
||
|
<a-button>Default</a-button>
|
||
|
<a-button type="dashed">Dashed</a-button>
|
||
|
<a-button type="danger">Danger</a-button>
|
||
|
</div>
|
||
|
</template>
|
||
|
```
|
||
|
:::
|