[Improvement] Locale: optimize i18 config (#701)

This commit is contained in:
neverland
2018-03-16 13:31:19 +08:00
committed by GitHub
parent 966c8afce0
commit f26ad3b912
12 changed files with 65 additions and 108 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ export default {
| address_detail | Detailed Address | `String` |
| area_code | Area code | `String` |
| postal_code | Postal code | `String` |
| is_default | Is default address | `String` |
| is_default | Is default address | `Boolean` |
#### searchResult Data Structure
| key | Description | Type |
+1 -1
View File
@@ -101,7 +101,7 @@ export default {
| address_detail | 详细地址 | `String` |
| area_code | 地区编码,通过省市区选择获取 | `String` |
| postal_code | 邮政编码 | `String` |
| is_default | 是否为默认地址 | `String` |
| is_default | 是否为默认地址 | `Boolean` |
#### searchResult 数据格式
| key | 说明 | 类型 |
+1 -1
View File
@@ -131,7 +131,7 @@ export default {
| show-toolbar | 是否显示顶部栏 | `Boolean` | `false` | - |
| title | 顶部栏标题 | `String` | `''` | - |
| loading | 是否显示加载状态 | `Boolean` | `false` | - |
| confirm-button-text | 确认按钮文字 | `String` | `完成` | - |
| confirm-button-text | 确认按钮文字 | `String` | `确认` | - |
| cancel-button-text | 取消按钮文字 | `String` | `取消` | - |
| item-height | 选项高度 | `Number` | `44` | - |
| visible-item-count | 可见的选项个数 | `Number` | `5` | - |