diff --git a/examples/docs/en-US/alert.md b/examples/docs/en-US/alert.md index cd1583baf..5eb3bdbd9 100644 --- a/examples/docs/en-US/alert.md +++ b/examples/docs/en-US/alert.md @@ -208,7 +208,7 @@ Description includes a message with more detailed information. ### Attributes | Attribute | Description | Type | Accepted Values | Default | |---------- |-------------- |---------- |-------------------------------- |-------- | -| **title** | title **REQUIRED** | string | — | — | +| title | title | string | — | — | | type | component type | string | success/warning/info/error | info | | description | descriptive text. Can also be passed with the default slot | string | — | — | | closable | if closable or not | boolean | — | true | diff --git a/examples/docs/es/alert.md b/examples/docs/es/alert.md index 76e6124ea..07840a24a 100644 --- a/examples/docs/es/alert.md +++ b/examples/docs/es/alert.md @@ -210,7 +210,7 @@ Descripción incluye un mensaje con información más detallada. ### Atributos | Atributo | Descripción | Tipo | Valores aceptados | Por defecto | | ----------- | ---------------------------------------- | ------- | -------------------------- | ----------- | -| title | título. Requerido | string | — | — | +| title | título | string | — | — | | type | tipo de componente | string | success/warning/info/error | info | | description | texto descriptivo. También puede ser pasado con el slot por defecto | string | — | — | | closable | si se puede cerrar o no | boolean | — | true | diff --git a/examples/docs/zh-CN/alert.md b/examples/docs/zh-CN/alert.md index e64e9789f..47b1e1798 100644 --- a/examples/docs/zh-CN/alert.md +++ b/examples/docs/zh-CN/alert.md @@ -202,7 +202,7 @@ ### Attributes | 参数 | 说明 | 类型 | 可选值 | 默认值 | |---------- |-------------- |---------- |-------------------------------- |-------- | -| **title** | 标题,**必选参数** | string | — | — | +| title | 标题 | string | — | — | | type | 主题 | string | success/warning/info/error | info | | description | 辅助性文字。也可通过默认 slot 传入 | string | — | — | | closable | 是否可关闭 | boolean | — | true | diff --git a/packages/alert/src/main.vue b/packages/alert/src/main.vue index 20a529a7d..5000c7d1c 100644 --- a/packages/alert/src/main.vue +++ b/packages/alert/src/main.vue @@ -32,8 +32,7 @@ props: { title: { type: String, - default: '', - required: true + default: '' }, description: { type: String,