Merge branch 'dev' into next

This commit is contained in:
chenjiahan
2020-08-15 07:01:52 +08:00
26 changed files with 203 additions and 144 deletions
+17 -17
View File
@@ -30,6 +30,23 @@ Dialog.alert({
});
```
### Confirm dialog
Used to confirm some messages, including a confirm button and a cancel button.
```js
Dialog.confirm({
title: 'Title',
message: 'Content',
})
.then(() => {
// on confirm
})
.catch(() => {
// on cancel
});
```
### Round Button Style
Use round button style.
@@ -51,23 +68,6 @@ Dialog.alert({
});
```
### Confirm dialog
Used to confirm some messages, including a confirm button and a cancel button.
```js
Dialog.confirm({
title: 'Title',
message: 'Content',
})
.then(() => {
// on confirm
})
.catch(() => {
// on cancel
});
```
### Asnyc Close
```js