feat(Cascader): add @cascader-header-padding less var (#8626)

This commit is contained in:
neverland
2021-04-27 21:33:09 +08:00
committed by GitHub
parent 324fd08f3d
commit e2286b0426
6 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -83,8 +83,8 @@ export function mapInputType(
type: InputHTMLAttributes['type'];
inputmode?: HTMLAttributes['inputmode'];
} {
// type="number" is weired in iOS, and can't prevent dot in Android
// so use inputmode to set keyboard in mordern browers
// type="number" is weird in iOS, and can't prevent dot in Android
// so use inputmode to set keyboard in modern browsers
if (type === 'number') {
return {
type: 'text',