adjust code style and add default case

This commit is contained in:
pengfei.zhou
2020-06-13 11:53:21 +08:00
committed by osborn
parent 497bd0ac45
commit 4a788eb4bb
3 changed files with 45 additions and 38 deletions

View File

@@ -32,7 +32,7 @@ export class Input extends View {
@Property
hintText?: string
@Property
inputType?: InputType
@@ -74,12 +74,12 @@ export class Input extends View {
}
}
export enum InputType{
export enum InputType {
Default = 0,
Number = 1,
NumberSigned = 2,
Decimal = 2,
Alphabet = 3,