可以通过页面根组件绑定点击事件实现:.onClick((event)=>{ inputMethod.getController().hideTextInput(); })参考链接:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-inputmethod-V5\#hidetextinput10
可以通过页面根组件绑定点击事件实现:
参考链接:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-inputmethod-V5\#hidetextinput10