From 1855dae7b6901403e0f6df30e80101769db4aac1 Mon Sep 17 00:00:00 2001 From: dwqs <461147874@qq.com> Date: Mon, 9 Apr 2018 11:06:35 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=96=B0=20demo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gh/components/main/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gh/components/main/index.js b/gh/components/main/index.js index 31c71c0..de8eda9 100644 --- a/gh/components/main/index.js +++ b/gh/components/main/index.js @@ -34,12 +34,12 @@ export default class Main extends Component {
设置 placeholders

- placeholders 是一个数组, 数组项顺序分别对应省/市/区/街道. + placeholders 是一个数组, 数组项顺序分别对应省/市/区.

设置默认值及省市区联动

- selected 是一个数组, 数组项顺序分别对应省/市/区/街道, 且类型(区域代码/区域文本)必须统一. 以第一个元素类型为基准. 类型不统一将报错. + selected 是一个数组, 数组项顺序分别对应省/市/区, 且类型(区域代码/区域文本)必须统一. 以第一个元素类型为基准. 类型不统一将报错.

只选省份