types: add SwipeInstance type (#9158)

This commit is contained in:
neverland
2021-07-30 14:25:14 +08:00
committed by GitHub
parent 44fb849a5f
commit 32e77d71ab
17 changed files with 155 additions and 98 deletions
+3 -3
View File
@@ -122,9 +122,9 @@ export default {
Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get AddressEdit instance and call instance methods.
| Name | Description | Attribute | Return value |
| ---------------- | ------------------ | --------------------- | ------------ |
| setAddressDetail | Set address detail | addressDetail: string | - |
| Name | Description | Attribute | Return value |
| --- | --- | --- | --- |
| setAddressDetail | Set address detail | _addressDetail: string_ | - |
### AddressInfo Data Structure
+3 -3
View File
@@ -122,9 +122,9 @@ export default {
通过 ref 可以获取到 AddressEdit 实例并调用实例方法,详见[组件实例方法](#/zh-CN/advanced-usage#zu-jian-shi-li-fang-fa)。
| 方法名 | 说明 | 参数 | 返回值 |
| ---------------- | ------------ | --------------------- | ------ |
| setAddressDetail | 设置详细地址 | addressDetail: string | - |
| 方法名 | 说明 | 参数 | 返回值 |
| ---------------- | ------------ | ----------------------- | ------ |
| setAddressDetail | 设置详细地址 | _addressDetail: string_ | - |
### AddressInfo 数据格式