From 1be604ab9bcb307f69d473cd916f892ef326be4c Mon Sep 17 00:00:00 2001 From: xiaojiahui Date: Thu, 18 Jul 2024 19:24:25 +0800 Subject: [PATCH] revert virtual keyboard paste --- components/input-item/README.en-US.md | 2 +- components/input-item/README.md | 2 +- components/input-item/index.vue | 12 +++++++----- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/components/input-item/README.en-US.md b/components/input-item/README.en-US.md index 35f2c708..0f652f5c 100644 --- a/components/input-item/README.en-US.md +++ b/components/input-item/README.en-US.md @@ -45,7 +45,7 @@ Vue.component(InputItem.name, InputItem) |is-amount|the input is financial figures|Boolean|`false`|-| |formation|input text formatting callback function|Function(name, curValue, curPos): {value: curValue, range: curPos}|-|passing parameter `name` is the name of input, `curValue` is input value, `curPos` is the current position of input cursor, and returned `value` is formatted value. `range` is the position of input cursor after formatting| |clearable|use clear control or not|Boolean|`false`|-| -|is-virtual-keyboard|use financial number keyboard control|Boolean|`false`|support paste2.7.1+| +|is-virtual-keyboard|use financial number keyboard control|Boolean|`false`|-| |virtual-keyboard-disorder|if number keys of financial number keyboard is out of order|Boolean|`false`|-| |virtual-keyboard-ok-text|confirmation key texts of financial number keyboard|String|`confirm`|-| |virtual-keyboard-vm|financial number keyboard ref name|String|-|generally used for custom number keyboard| diff --git a/components/input-item/README.md b/components/input-item/README.md index a96d5656..25dcdfed 100644 --- a/components/input-item/README.md +++ b/components/input-item/README.md @@ -46,7 +46,7 @@ Vue.component(InputItem.name, InputItem) |is-amount|表单内容为金融数字|Boolean|`false`|-| |formation|表单文本格式化回调方法|Function(name, curValue, curPos): {value: curValue, range: curPos}|-|传入参数`name`为表单名称,`curValue`为表单值,`curPos`为表单光标当前所在位置
返回参数`value`格式化值, `range`表单光标格式化后所在位置| |clearable|表单是否使用清除控件|Boolean|`false`|-| -|is-virtual-keyboard|表单是否使用金融数字键盘控件|Boolean|`false`|支持粘贴2.7.1+| +|is-virtual-keyboard|表单是否使用金融数字键盘控件|Boolean|`false`|-| |virtual-keyboard-disorder|金融数字键盘数字键乱序|Boolean|`false`|-| |virtual-keyboard-ok-text|金融数字键盘确认键文案|String|`确定`|-| |virtual-keyboard-vm|金融数字键盘`ref`名称|String|-|一般用于自定义键盘| diff --git a/components/input-item/index.vue b/components/input-item/index.vue index 2c3b5e36..3d55ad4d 100644 --- a/components/input-item/index.vue +++ b/components/input-item/index.vue @@ -54,11 +54,11 @@ }" @click="$_onFakeInputClick" > - - + v-text="inputPlaceholder"> @@ -114,7 +114,8 @@ - + +