Joe
10 months ago
3 changed files with 11 additions and 1 deletions
@ -1,3 +1,9 @@ |
|||||
export function resolveName(name = "input") { |
export function resolveName(name = "input") { |
||||
return name.replace(/^[a-z]/, (word) => word.toUpperCase()); |
return name.replace(/^[a-z]/, (word) => word.toUpperCase()); |
||||
} |
} |
||||
|
|
||||
|
export const defaultComponentOptions = { |
||||
|
Select: { |
||||
|
placeholder: "请选择", |
||||
|
}, |
||||
|
}; |
||||
|
Loading…
Reference in new issue