``
uni.onKeyboardHeightChange(this.keyboardChange);
keyboardChange(res) {
uni.showToast({
title: res.height,
icon: 'none',
});
},
``
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: win11
HBuilderX类型: 正式
HBuilderX版本号: 4.08
手机系统: Android
手机系统版本号: Android 14
手机厂商: 小米
手机机型: 所有android
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
``
uni.onKeyboardHeightChange(this.keyboardChange);
keyboardChange(res) {
uni.showToast({
title: res.height,
icon: 'none',
});
},
``
uniappx 4.08 android 云打包后uni.onKeyboardHeightChange不触发
uniappx 4.08 android 云打包后uni.onKeyboardHeightChange触发
uniappx 4.08 android 云打包后uni.onKeyboardHeightChange不触发
uniappx 4.08 android 云打包后uni.onKeyboardHeightChange不触发
本地运行到android端是好的,打包后会不触发
ios两边都是好的
0 个回复