chore(Dialog): rename round theme to round-button
This commit is contained in:
@@ -56,22 +56,22 @@ Dialog.alert({
|
||||
});
|
||||
```
|
||||
|
||||
### 圆角风格
|
||||
### 圆角按钮风格
|
||||
|
||||
样式为圆角风格。
|
||||
将 theme 选项设置为 `round-button` 可以展示圆角按钮风格的弹窗,该选项从 2.10.0 版本开始支持。
|
||||
|
||||
```js
|
||||
Dialog.alert({
|
||||
title: '标题',
|
||||
message: '弹窗内容',
|
||||
theme: 'round',
|
||||
theme: 'round-button',
|
||||
}).then(() => {
|
||||
// on close
|
||||
});
|
||||
|
||||
Dialog.alert({
|
||||
message: '弹窗内容',
|
||||
theme: 'round',
|
||||
theme: 'round-button',
|
||||
}).then(() => {
|
||||
// on close
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user