mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 08:37:23 +00:00
[improvement] AddressEdit: add setAddressDetail method (#2984)
This commit is contained in:
@@ -94,6 +94,14 @@ export default {
|
||||
|------|------|
|
||||
| - | 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
|
||||
|
||||
#### addressInfo Data Structure
|
||||
|
@@ -92,6 +92,14 @@ export default {
|
||||
|------|------|
|
||||
| - | 在邮政编码下方插入内容 |
|
||||
|
||||
### 方法
|
||||
|
||||
通过 ref 可以获取到 address-edit 实例并调用实例方法
|
||||
|
||||
| 方法名 | 参数 | 返回值 | 介绍 |
|
||||
|------|------|------|------|
|
||||
| setAddressDetail | addressDetail: string | - | 设置详细地址 |
|
||||
|
||||
### 数据格式
|
||||
|
||||
#### addressInfo 数据格式
|
||||
|
Reference in New Issue
Block a user