diff --git a/package.json b/package.json index 4bc5340..6c00ed9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "taro-creator", "productName": "TaroCreator", - "version": "0.2.0", + "version": "0.2.1", "description": "微信小程序 小程序模板 小程序可视化设计工具 Taro Taro UI", "author": "深圳之了网络科技有限公司", "private": true, diff --git a/src/components/taro-ui/components/AtInput.vue b/src/components/taro-ui/components/AtInput.vue index ccabd96..817ccfb 100644 --- a/src/components/taro-ui/components/AtInput.vue +++ b/src/components/taro-ui/components/AtInput.vue @@ -152,6 +152,10 @@ export default { }, attrs() { return { + type: { + type: 'select', + items: ['text', 'number', 'password', 'phone', 'idcard', 'digit'] + }, adjustPosition: { type: 'boolean' },