Skip to content

Commit

Permalink
test: 测试input在微信小程序iOS端双向绑定
Browse files Browse the repository at this point in the history
  • Loading branch information
jry committed Aug 9, 2024
1 parent 0faf3dd commit fa3b1d2
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/pages/componentsC/input/input.nvue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
confirmType="search"
@confirm="handleSearch"
></up-input>
<up-button @click="value = Math.random().toString()">变化</up-button>
<up-button @click="value = Math.random().toString()"
style="margin-top: 10px;">变化</up-button>
{{value}}
</view>
</view>
Expand Down Expand Up @@ -45,8 +46,10 @@
placeholder="请输入内容"
border="surround"
password
clearable
></up-input>
clearable
v-model="inputPassword"
></up-input>
{{inputPassword}}
</view>
</view>
<view class="u-demo-block">
Expand Down Expand Up @@ -168,7 +171,8 @@
return {
tips: '',
value: '',
inputNumber: ''
inputNumber: '',
inputPassword: '123456'
}
},
watch: {
Expand Down

0 comments on commit fa3b1d2

Please sign in to comment.