微信开发者工具新版本ide跑没问题,但是真机调试和上传代码都会出现这个报错,找不到任何原因 #5695
Replies: 2 comments 5 replies
-
你好,我可以帮你解决这个问题 |
Beta Was this translation helpful? Give feedback.
4 replies
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
WAServiceMainContext.js:1 MiniProgramError
Cannot find method "observeDuration" for observer of property "duration".
Error: Cannot find method "observeDuration" for observer of property "duration".
at kt.prepare (WAServiceMainContext.js:1:553900)
at kt.prepare (WAServiceMainContext.js:1:548986)
at kt.prepare (WAServiceMainContext.js:1:549419)
at bt.prepare (WAServiceMainContext.js:1:531822)
at mt (WAServiceMainContext.js:1:529620)
at Ke.createComponent (WAServiceMainContext.js:1:501648)
at et.createCommonElement (WAServiceMainContext.js:1:521680)
at (WAServiceMainContext.js:1:516418)
at et.handleChildrenCreation (WAServiceMainContext.js:1:516093)
at et.handleChildrenCreationAndInsert (WAServiceMainContext.js:1:518145)
微信官方建议我来社区提问一下,自测发现问题在微信开发者工具高版本或使用skyline渲染时出现,只用了滚动通知和一些简单组件就报错了
Beta Was this translation helpful? Give feedback.
All reactions