mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[improvement] AddressEdit: add setAddressDetail method (#2984)
This commit is contained in:
parent
a65c7a75eb
commit
36fc3ab921
@ -94,6 +94,14 @@ export default {
|
|||||||
|------|------|
|
|------|------|
|
||||||
| - | Custom content below postal |
|
| - | Custom content below postal |
|
||||||
|
|
||||||
|
### Methods
|
||||||
|
|
||||||
|
Use ref to get address-edit instance and call instance methods
|
||||||
|
|
||||||
|
| Name | Attribute | Return value | Description |
|
||||||
|
|------|------|------|------|
|
||||||
|
| setAddressDetail | addressDetail: string | - | Set address detail |
|
||||||
|
|
||||||
### Data Structure
|
### Data Structure
|
||||||
|
|
||||||
#### addressInfo Data Structure
|
#### addressInfo Data Structure
|
||||||
|
@ -92,6 +92,14 @@ export default {
|
|||||||
|------|------|
|
|------|------|
|
||||||
| - | 在邮政编码下方插入内容 |
|
| - | 在邮政编码下方插入内容 |
|
||||||
|
|
||||||
|
### 方法
|
||||||
|
|
||||||
|
通过 ref 可以获取到 address-edit 实例并调用实例方法
|
||||||
|
|
||||||
|
| 方法名 | 参数 | 返回值 | 介绍 |
|
||||||
|
|------|------|------|------|
|
||||||
|
| setAddressDetail | addressDetail: string | - | 设置详细地址 |
|
||||||
|
|
||||||
### 数据格式
|
### 数据格式
|
||||||
|
|
||||||
#### addressInfo 数据格式
|
#### addressInfo 数据格式
|
||||||
|
Loading…
x
Reference in New Issue
Block a user