Skyline 中的 ad 组件,在基础库 3.3.0 ,页面一打开时就会报错:
Error: The for-list data is neither Array nor Object, got type "undefined".
at Je.updateKeys (WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.0:1)
at new Je (WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.0:1)
at WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.0:1
at et.handleChildrenCreation (WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.0:1)
at et.handleChildrenCreationAndInsert (WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.0:1)
at et.createCommonElement (WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.0:1)
at WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.0:1
at et.handleChildrenCreation (WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.0:1)
at et.handleChildrenCreationAndInsert (WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.0:1)
at l (WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.0:1)(env: macOS,mp,1.06.2402021; lib: 3.3.0)
在基础库 3.3.4时,虽然页面打开时没抱错,但是页面关闭时会报错:
TypeError: p.createFragment is not a function
at g (WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.4:1)
at Function.insertChildComposed (WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.4:1)
at Function.insertChildSingleOperation (WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.4:1)
at He.replaceChildAt (WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.4:1)
at c (WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.4:1)
at Ze.handleChildrenUpdate (WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.4:1)
at Ze.update (WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.4:1)
at pt.updateValues (WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.4:1)
at Pe._$updateListener (WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.4:1)
at Pe.applyDataUpdates (WAServiceMainContext.js?t=wechat&s=1709427489012&v=3.3.4:1)(env: macOS,mp,1.06.2402021; lib: 3.3.4)
使用 webview 是正常的吗
GET <img> error: https://servicewechat.com/wx5b9c4305067d1f75/0/page-frame.html
模拟器报这个错:
[渲染层错误] SyntaxError: SystemError (webviewScriptError)
Unexpected token '{'(env: macOS,mp,1.06.2402021; lib: 3.3.4)
[worker] Uncaught (in promise) {type: "string", description: "[worker] Uncaught (in promise)", value: "[worker] Uncaught (in promise)"} [object Object] {type: "object", description: "[object Object]", objectId: "1", className: "Object", preview: {type: "object", description: "[object Object]", properties: [{name: "errMsg", type: "string", description: "removeTextView:fail no root view to removeBaseView", value: "removeTextView:fail no root view to removeBaseView"}], overflow: true}}
这个问题在基础库 3.3.5 修复
skyline模式下报错, Error: The for-list data is neither Array nor Object, got type "undefined". webview模式下正常显示不报错,请问是什么原因