提交 0745e855 编写于 作者: Q qiang

fix: input 组件 number 类型在 iOS 平台使用仅数字键盘

上级 42c6a98e
<template>
<uni-input v-on="$listeners">
<div
ref="wrapper"
class="uni-input-wrapper"
<div
ref="wrapper"
class="uni-input-wrapper"
>
<div
v-show="!(composing || valueSync.length || cachedValue === '-')"
......@@ -23,6 +23,7 @@
:maxlength="maxlength"
:step="step"
:enterkeyhint="confirmType"
:pattern="type === 'number' ? '[0-9]*' : null"
class="uni-input-input"
autocomplete="off"
@change.stop
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册