HarmonyOS 函数使用bind提示警告

实际项目中使用:this.sendClick.bind(this) 时提示 "Function.bind" is not supported (arkts-no-func-bind) <ArkTSCheck>。

HarmonyOS
2024-11-04 10:51:06
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
put_get

容器类的方法不支持bind的。

分享
微博
QQ
微信
回复
2024-11-04 16:05:05
相关问题
调试工程时提示警告怎么处理?
1149浏览 • 1回复 待解决
HarmonyOS bind提示Address not available
944浏览 • 1回复 待解决
HarmonyOS 使用List的警告
1270浏览 • 1回复 待解决
HarmonyOS 关于Funtion的bind
624浏览 • 1回复 待解决
HarmonyOS UDP socket bind失败
1031浏览 • 1回复 待解决
HarmonyOS bind(this)问题的替代方案
1971浏览 • 1回复 待解决
HarmonyOS TLSSocket为什么强制需要bind
1063浏览 • 1回复 待解决
HarmonyOS 警告'libzhihui.so' is not verified
1086浏览 • 1回复 待解决
HarmonyOS Entry组件export会有黄色警告
1163浏览 • 1回复 待解决
native使用fork函数,出现cppcrash
2556浏览 • 1回复 待解决
使用OrmPredicates无法做函数查询吗?
6455浏览 • 1回复 待解决