فهرست منبع

Changelog: add missing changes

Leopoldthecoder 7 سال پیش
والد
کامیت
2f2405a64a
4فایلهای تغییر یافته به همراه14 افزوده شده و 0 حذف شده
  1. 1 0
      CHANGELOG.en-US.md
  2. 1 0
      CHANGELOG.zh-CN.md
  3. 6 0
      examples/docs/en-US/form.md
  4. 6 0
      examples/docs/zh-CN/form.md

+ 1 - 0
CHANGELOG.en-US.md

@@ -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

+ 1 - 0
CHANGELOG.zh-CN.md

@@ -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

+ 6 - 0
examples/docs/en-US/form.md

@@ -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 | — |

+ 6 - 0
examples/docs/zh-CN/form.md

@@ -768,3 +768,9 @@
 |------|--------|
 | — | Form Item 的内容 |
 | label | 标签文本的内容 |
+
+### Form-Item Methods
+
+| 方法名      | 说明          | 参数
+|---------- |-------------- | --------------
+| resetField | 对该表单项进行重置,将其值重置为初始值并移除校验结果 | -