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

update:input.uvue

上级 bf752e86
...@@ -272,7 +272,18 @@ ...@@ -272,7 +272,18 @@
<view class="input-wrapper"> <view class="input-wrapper">
<input class="uni-input" :adjust-position="adjustPosition" /> <input class="uni-input" :adjust-position="adjustPosition" />
</view> </view>
</view> </view>
<view>
<view class="uni-title">
<text class="uni-title-text">输入内容的同步更新UI</text>
</view>
<text>{{syncDisplayValue}}</text>
<view class="input-wrapper">
<input class="uni-input" v-model="syncDisplayValue"/>
</view>
</view>
</view> </view>
<!-- #ifdef APP --> <!-- #ifdef APP -->
</scroll-view> </scroll-view>
...@@ -308,7 +319,8 @@ ...@@ -308,7 +319,8 @@
keyboardHeight: 0, keyboardHeight: 0,
focusedForKeyboardHeightChangeTest: false, focusedForKeyboardHeightChangeTest: false,
demoValue: '123', demoValue: '123',
adjustPosition: false adjustPosition: false,
syncDisplayValue: ''
} }
}, },
methods: { methods: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册