shishuangxi

调整手机号输入格式

@@ -52,7 +52,7 @@ export struct LoginInputComponent { @@ -52,7 +52,7 @@ export struct LoginInputComponent {
52 .margin({ top: 36 }) 52 .margin({ top: 36 })
53 .backgroundColor("#F5F5F5") 53 .backgroundColor("#F5F5F5")
54 .borderRadius(4) 54 .borderRadius(4)
55 - .type(InputType.PhoneNumber) 55 + .type(InputType.Number)
56 .onChange((content) => { 56 .onChange((content) => {
57 this.phoneContent = content 57 this.phoneContent = content
58 this.isSubmit = (this.phoneContent.length >= 11 && this.codeContent.length >= 6) 58 this.isSubmit = (this.phoneContent.length >= 11 && this.codeContent.length >= 6)