可使用window.on(‘keyboardHeightChange’)监听键盘高度,判断软键盘的显示与隐藏参考:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-window-V5\#onkeyboardheightchange7
可使用window.on(‘keyboardHeightChange’)监听键盘高度,判断软键盘的显示与隐藏
参考:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-window-V5\#onkeyboardheightchange7