jd-opensource / jd-opensource/taro-ui

Taro3.3.10使用h5编译,AtInput type设置无效

Open
#1,415 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.7k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

**问题描述**

![image](https://user-images.githubusercontent.com/84438011/144349582-168cd5b1-5256-44af-8390-04bc30523614.png)

**复现步骤**

{
setPayment(Number(e))
}}
/>

```js
// 这里可以贴代码
```

**期望行为**

只能输入数字类型
**报错信息**

无报错
**系统信息**

👽 Taro v3.3.10

mode: undefined TARO_ENV: undefined
APP_BASE_URL=https://yapi.ishopex.cn/mock/1310

Taro CLI 3.3.10 environment info:
System:
OS: macOS 10.15.7
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.16.0 - ~/.nvm/versions/node/v14.16.0/bin/node
Yarn: 1.22.17 - ~/.nvm/versions/node/v14.16.0/bin/yarn
npm: 6.14.11 - ~/.nvm/versions/node/v14.16.0/bin/npm
npmPackages:
@tarojs/cli: 3.3.10 => 3.3.10
@tarojs/components: 3.3.10 => 3.3.10
@tarojs/mini-runner: 3.3.10 => 3.3.10
@tarojs/react: 3.3.10 => 3.3.10
@tarojs/runtime: 3.3.10 => 3.3.10
@tarojs/taro: 3.3.10 => 3.3.10
@tarojs/webpack-runner: 3.3.10 => 3.3.10
babel-preset-taro: 3.3.10 => 3.3.10
eslint-config-taro: 3.3.10 => 3.3.10
react: ^17.0.0 => 17.0.2
taro-ui: ^3.0.0-alpha.10 => 3.0.0-alpha.10

**补充信息**

使用机型为iPad Air(第四代)MYFQ2CH/A 14.4系统

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.