限制电话单位
This commit is contained in:
parent
f6a69a3ea6
commit
0de8f2060b
@ -27,6 +27,7 @@ export default () => {
|
|||||||
placeholderFont: '请输入联系方式',
|
placeholderFont: '请输入联系方式',
|
||||||
type: 'number',
|
type: 'number',
|
||||||
value: '',
|
value: '',
|
||||||
|
maxLength: 11
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '收货地址',
|
title: '收货地址',
|
||||||
@ -243,6 +244,7 @@ export default () => {
|
|||||||
{item.title}<Text style={{ color: 'red' }}>*</Text>
|
{item.title}<Text style={{ color: 'red' }}>*</Text>
|
||||||
</View>
|
</View>
|
||||||
<Input
|
<Input
|
||||||
|
maxlength={item.maxLength ? 11 : 100}
|
||||||
onInput={(e) => changeInput(e, item)}
|
onInput={(e) => changeInput(e, item)}
|
||||||
type={item.type}
|
type={item.type}
|
||||||
onClick={() => showModal(item)}
|
onClick={() => showModal(item)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user