docs: update method table (#4511)
This commit is contained in:
+2
-2
@@ -69,9 +69,9 @@ Set `columns-num` with 2, you'll have a 2 level picker.
|
||||
|
||||
Use ref to get area instance and call instance methods
|
||||
|
||||
| Name | Attribute | Return value | Description |
|
||||
| Name | Description | Attribute | Return value |
|
||||
|------|------|------|------|
|
||||
| reset | code: string | - | Reset all options by code |
|
||||
| reset | Reset all options by code | code: string | - |
|
||||
|
||||
### areaList Data Structure
|
||||
|
||||
|
||||
@@ -68,9 +68,9 @@ Vue.use(Area);
|
||||
|
||||
通过 ref 可以获取到 area 实例并调用实例方法
|
||||
|
||||
| 方法名 | 参数 | 返回值 | 介绍 |
|
||||
| 方法名 | 说明 | 参数 | 返回值 |
|
||||
|------|------|------|------|
|
||||
| reset | code: string | - | 根据 code 重置所有选项,若不传 code,则重置到第一项 |
|
||||
| reset | 根据 code 重置所有选项,若不传 code,则重置到第一项 | code: string | - |
|
||||
|
||||
### 省市区列表数据格式
|
||||
|
||||
|
||||
Reference in New Issue
Block a user