Commit b9f2ad79 authored by yzwxy's avatar yzwxy Committed by 童皓

fix(u-number-box):修复动态切换类型引起的输入框bug

parent ddb7efe1
......@@ -10,7 +10,7 @@
</view>
<input :disabled="disabledInput || disabled" :cursor-spacing="getCursorSpacing" :class="{ 'u-input-disabled': disabled }"
v-model="inputVal" class="u-number-input" @blur="onBlur" @focus="onFocus"
:type="positiveInteger?'number':'digit'" :style="{
type="digit" :style="{
color: color,
fontSize: size + 'rpx',
background: bgColor,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment