docs: update method table (#4511)

This commit is contained in:
neverland
2019-09-20 10:26:54 +08:00
committed by GitHub
parent 0c38d4af6e
commit 76ac9f71d1
26 changed files with 103 additions and 103 deletions
+3 -3
View File
@@ -165,10 +165,10 @@ Field support all native events of input tag
Use ref to get field instance and call instance methods
| Name | Attribute | Return value | Description |
| Name | Description | Attribute | Return value |
|------|------|------|------|
| focus | - | - | Trigger input focus |
| blur | - | - | Trigger input blur |
| focus | Trigger input focus | - | - |
| blur | Trigger input blur | - | - |
### Slots
+3 -3
View File
@@ -169,10 +169,10 @@ Vue.use(Field);
通过 ref 可以获取到 field 实例并调用实例方法
| 方法名 | 参数 | 返回值 | 介绍 |
| 方法名 | 说明 | 参数 | 返回值 |
|------|------|------|------|
| focus | - | - | 获取输入框焦点 |
| blur | - | - | 取消输入框焦点 |
| focus | 获取输入框焦点 | - | - |
| blur | 取消输入框焦点 | - | - |
### Slots