feat(Dialog): add width prop (#4687)

This commit is contained in:
neverland
2019-10-11 10:13:33 +08:00
committed by GitHub
parent 894e9aafcb
commit cc162ecd7b
6 changed files with 20 additions and 1 deletions
+2
View File
@@ -119,6 +119,7 @@ export default {
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| title | Title | *string* | - | - |
| width | Width | *string \| number* | `320px` | 2.2.7 |
| message | Message | *string* | - | - |
| messageAlign | Message text aligncan be set to `left` `right` | *string* | `center` | - |
| className | Custom className | *any* | - | - |
@@ -144,6 +145,7 @@ export default {
|------|------|------|------|------|
| v-model | Whether to show dialog | *boolean* | - | - |
| title | Title | *string* | - | - |
| width | Width | *string \| number* | `320px` | 2.2.7 |
| message | Message | *string* | - | - |
| message-align | Message aligncan be set to `left` `right` | *string* | `center` | - |
| show-confirm-button | Whether to show confirm button | *boolean* | `true` | - |