提交 1da7fd18 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

update: input.uvue

上级 7bf5160c
......@@ -137,7 +137,7 @@
<view>
<view class="uni-title" @click="setCursor(4)">
<text class="uni-title-text">设置输入框聚焦时光标的位置(点击生效)</text>
<text class="uni-title-text">设置输入框聚焦时光标的位置(点这里)</text>
</view>
<view class="input-wrapper">
<input ref="input" class="uni-input" value="0123456789" :cursor="cursor" @blur="onCursorBlurChange" />
......@@ -146,7 +146,7 @@
<view>
<view class="uni-title" @click="setSelection(0, 4)">
<text class="uni-title-text">设置输入框聚焦时光标的起始位置和结束位置(点击生效)</text>
<text class="uni-title-text">设置输入框聚焦时光标的起始位置和结束位置(点这里)</text>
</view>
<view class="input-wrapper">
<input ref="input2" class="uni-input" value="0123456789" :selection-start="selectionStart"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册