mirror of https://github.com/ElemeFE/element
Changelog: add missing changes
parent
ee63e1e0af
commit
2f2405a64a
|
@ -101,6 +101,7 @@ in `lazy` mode #6235
|
|||
- `on-text` and `off-text` attributes now don't have default values
|
||||
- Tag
|
||||
- `type` attribute now accepts `success`, `info`, `warning` and `danger`
|
||||
- `close-transition` is renamed to `disable-transitions`
|
||||
- Menu
|
||||
- Removed `theme` attribute. The color of Menu can be configured using `background-color`, `text-color` and `active-text-color`
|
||||
- Input
|
||||
|
|
|
@ -99,6 +99,7 @@
|
|||
- `on-text` 和 `off-text` 属性不再有默认值
|
||||
- Tag
|
||||
- `type` 属性现在支持 `success`、`info`、`warning` 和 `danger` 四个值
|
||||
- `close-transition` 属性更名为 `disable-transitions`
|
||||
- Menu
|
||||
- 移除 `theme` 属性。现在通过 `background-color`、`text-color` 和 `active-text-color` 属性进行颜色的自定义
|
||||
- Input
|
||||
|
|
|
@ -779,3 +779,9 @@ When an `el-form-item` is nested in another `el-form-item`, its label width will
|
|||
|------|--------|
|
||||
| — | content of Form Item |
|
||||
| label | content of label |
|
||||
|
||||
### Form-Item Methods
|
||||
|
||||
| Method | Description | Parameters |
|
||||
| ---- | ---- | ---- |
|
||||
| resetField | reset current field and remove validation result | — |
|
||||
|
|
|
@ -768,3 +768,9 @@
|
|||
|------|--------|
|
||||
| — | Form Item 的内容 |
|
||||
| label | 标签文本的内容 |
|
||||
|
||||
### Form-Item Methods
|
||||
|
||||
| 方法名 | 说明 | 参数
|
||||
|---------- |-------------- | --------------
|
||||
| resetField | 对该表单项进行重置,将其值重置为初始值并移除校验结果 | -
|
||||
|
|
Loading…
Reference in New Issue