未验证 提交 dcf181c0 编写于 作者: X xiaoyatong 提交者: GitHub

fix: Address 组件适配Taro (#554)

上级 aa494012
......@@ -47,10 +47,13 @@ const AddressDemo = () => {
const addressData: any = {
province: [
{ id: 1, name: '北京', title: 'B' },
{ id: 2, name: '广西', title: 'G' },
{ id: 3, name: '江西', title: 'J' },
{ id: 4, name: '四川', title: 'S' },
{ id: 5, name: '浙江', title: 'Z' },
{ id: 2, name: '北大荒', title: 'B' },
{ id: 3, name: '北海', title: 'B' },
{ id: 4, name: '北定', title: 'B' },
{ id: 5, name: '广西', title: 'G' },
{ id: 6, name: '江西', title: 'J' },
{ id: 7, name: '四川', title: 'S' },
{ id: 8, name: '浙江', title: 'Z' },
],
city: [
{ id: 7, name: '朝阳区', title: 'C' },
......@@ -384,7 +387,7 @@ const AddressDemo = () => {
onClose={close6}
/>
{/* <Address
<Address
modelValue={showPopup.normal2}
type="custom2"
modelSelect={[1, 7, 3]}
......@@ -396,7 +399,7 @@ const AddressDemo = () => {
onChange={(cal) => onChange(cal, 'normal2')}
onClose={close5}
customAddressTitle="请选择所在地区"
/> */}
/>
<Address
modelValue={showPopup.exist}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册