Skip to content

Commit

Permalink
feat(taro-components): Input 组件 H5 端新增 file 类型
Browse files Browse the repository at this point in the history
  • Loading branch information
jinjinjin0731 committed Aug 17, 2018
1 parent 8dcb1af commit f0cf015
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/taro-components/src/components/input/index.js
Expand Up @@ -9,7 +9,8 @@ const types = {
number: 'number',
idcard: 'idcard',
digit: 'digit',
password: 'password'
password: 'password',
file: 'file'
}
function parseType (type, isPassword, confirmType) {
if (!types[type]) {
Expand Down

0 comments on commit f0cf015

Please sign in to comment.