Skip to content

Commit bd5f62a

Browse files
committed
feature: 添加input组件原生属性show-confirm-bar字段
1 parent 46a5308 commit bd5f62a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

uview-ui/components/u-input/u-input.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
:selection-end="uSelectionEnd"
2828
:selection-start="uSelectionStart"
2929
:cursor-spacing="getCursorSpacing"
30+
:show-confirm-bar="showConfirmbar"
3031
@input="handleInput"
3132
@blur="handleBlur"
3233
@focus="onFocus"
@@ -48,6 +49,7 @@
4849
:cursor-spacing="getCursorSpacing"
4950
:selection-end="uSelectionEnd"
5051
:selection-start="uSelectionStart"
52+
:show-confirm-bar="showConfirmbar"
5153
@focus="onFocus"
5254
@blur="handleBlur"
5355
@input="handleInput"
@@ -206,6 +208,11 @@ export default {
206208
trim: {
207209
type: Boolean,
208210
default: true
211+
},
212+
// 是否显示键盘上方带有”完成“按钮那一栏
213+
showConfirmbar:{
214+
type:Boolean,
215+
default:true
209216
}
210217
},
211218
data() {

0 commit comments

Comments
 (0)