Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -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) |
-
Please register or login to post a comment