提交 cdb27b14 编写于 作者: F fxy060608

chore: 还原 input、textarea 的 v-model + value 测试

上级 2d01ae69
......@@ -255,16 +255,14 @@
" @click="changePassword"></image>
</view>
</view>
<!-- #ifndef MP -->
<view>
<view class="uni-title">
<text class="uni-title-text">同时存在 v-model 和 value</text>
</view>
<view class="input-wrapper">
<input id="both-model-value" class="uni-input" v-model="demoValue"/>
<input id="both-model-value" class="uni-input" v-model="demoValue" value="456" />
</view>
</view>
<!-- #endif -->
<view>
<view class="uni-title" style="flex-direction: row; align-items: center">
......
......@@ -138,14 +138,12 @@
<view class="textarea-wrap">
<textarea class="textarea-instance" :hold-keyboard="hold_keyboard" />
</view>
<!-- #ifndef MP -->
<view class="title-wrap">
<view>同时存在 v-model 和 value</view>
</view>
<view class="textarea-wrap">
<textarea id="both-model-value" class="textarea-instance" v-model='defaultModel'></textarea>
<textarea id="both-model-value" class="textarea-instance" v-model='defaultModel' value='456'></textarea>
</view>
<!-- #endif -->
<view class="title-wrap">
<view>设置adjust-position</view>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册