Skip to content

Commit 1cec632

Browse files
committed
Merge branch 'dev' of https://github.com/dcloudio/hello-uniapp into dev
2 parents 66c74a8 + 2f9f8a2 commit 1cec632

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pages/component/input/input.nvue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</view>
1414
</view>
1515
<!-- #ifdef APP-PLUS -->
16-
<view v-if="platform==='ios'" class="uni-form-item uni-column">
16+
<view v-if="platform==='ios'&&!isNvue" class="uni-form-item uni-column">
1717
<view class="title"><text class="uni-form-item__title">隐藏 iOS 软键盘上的导航条</text></view>
1818
<view class="uni-input-wrapper">
1919
<input class="uni-input" placeholder="触摸其他地方收起键盘" @focus="onFocus" @blur="onBlur" />
@@ -121,7 +121,8 @@
121121
changeValue: '',
122122
showPassword: true,
123123
src: '../../../static/eye-1.png',
124-
platform: ''
124+
platform: '',
125+
isNvue: false,
125126
}
126127
},
127128
methods: {
@@ -167,6 +168,9 @@
167168
},
168169
onLoad() {
169170
this.platform = uni.getSystemInfoSync().platform
171+
// #ifdef APP-PLUS-NVUE
172+
this.isNvue = true
173+
// #endif
170174
}
171175
}
172176
</script>

0 commit comments

Comments
 (0)