1***@qq.com
1***@qq.com
  • 发布:2024-04-12 17:01
  • 更新:2024-05-07 12:52
  • 阅读:227

getCurrentPages 在onLoad上 运行在h5是正常的,运行在app报错

分类:uni-app

TypeError: getCurrentPages is not a function
at getPagesInfo (utils.js:2)
at executeFunction (handlerFunc.js:57)
at eval (handlerFunc.js:49)
at Array.forEach (<anonymous>)
at handleExecuteJS (handlerFunc.js:44)
at o.handleExecuteJS (detail.vue:349)
at o.eval (detail.vue:444)
at Hn.wv ()
at Ke ()
at Hn.Fn.$emit () " uni-app:///common/handlerFunc.js:86"

2024-04-12 17:01 负责人:无 分享
已邀请:
aMing0703

aMing0703

解决了吗

5***@qq.com

5***@qq.com

有解决办法吗

[已删除]

[已删除]

仔细看文档:https://uniapp.dcloud.net.cn/api/window/window?id=getcurrentpages

要回复问题请先登录注册