HarmonyOS pushDestinationByName和pushPathByName的区别

HarmonyOS
2024-12-18 15:27:35
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
fox280

pushDestinationByName 绑定了上下文对象,调用时会验证上下文是否一致,pushPathByName 则不会验证。不同的window,运行的UIContext不一样,如果都是在一个window下使用的话,除了返回值不一样,没有其他区别

分享
微博
QQ
微信
回复
2024-12-18 17:49:19
相关问题
HarmonyOS PanEventDragEvent区别
885浏览 • 1回复 待解决
HarmonyOS 页面组件区别
982浏览 • 1回复 待解决
harmonyos arkts仓颉区别
1548浏览 • 1回复 已解决
HarmonyOS RecordHashMap区别
1212浏览 • 1回复 待解决
HarmonyOS etsts区别
1255浏览 • 1回复 待解决
HarmonyOS Objectobject区别
1796浏览 • 1回复 待解决
wampserverapache区别
3838浏览 • 1回复 待解决
HarmonyOS ArkTSTS区别
1226浏览 • 1回复 待解决
HarmonyOS mediarawfile区别
1045浏览 • 1回复 待解决
HarmonyOS文件路径 fd internal 区别
3158浏览 • 1回复 待解决
HarmonyOS 工程module下文件区别
920浏览 • 1回复 待解决
HarmonyOS video组件stopreset区别
1205浏览 • 1回复 待解决
exportexport default区别
3816浏览 • 1回复 待解决
HarmonyOS 服务卡片元服务区别
2510浏览 • 1回复 待解决
网络请求rcphttpRequest关系区别
2642浏览 • 1回复 待解决