设置方法:
1.设置只读属性为true: readonly="true"
<
ion-input
type=
"text"
formControlName=
"IdCardNo"
placeholder=
"请填写身份证号"
readonly=
"true"
></
ion-input
>
2.直接禁用表单项:disabled
设置方法:
1.设置只读属性为true: readonly="true"
2.直接禁用表单项:disabled