收藏
回答

ad 组件在 Skyline 页面中报错?

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)


回答关注问题邀请回答
收藏

2 个回答

  • 小程序技术专员-binnie
    小程序技术专员-binnie
    03-07

    使用 webview 是正常的吗

    03-07
    有用
    回复 6
    • 皮之助
      皮之助
      03-10
      切换成 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)
      03-10
      回复
    • 皮之助
      皮之助
      03-10
      用体验版,切换 webview 没有报错
      03-10
      回复
    • 皮之助
      皮之助
      03-10
      封面广告报这个错:
      [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}}
      03-10
      回复
    • Vnuj
      Vnuj
      03-11
      你好,基础库3.3.4 bug, live-player小窗进出无回调,有可复现的代码片段,麻烦反馈一下对应的技术人员 https://developers.weixin.qq.com/community/develop/doc/000cecf905cba0b1da21bade76bc00
      03-11
      回复
    • 小程序技术专员-binnie
      小程序技术专员-binnie
      03-18回复皮之助
      Error: The for-list data is neither Array nor Object, got type "undefined".
      这个问题在基础库 3.3.5 修复
      03-18
      1
      回复
    查看更多(1)
  • 胡萝卜
    胡萝卜
    03-12

    skyline模式下报错, Error: The for-list data is neither Array nor Object, got type "undefined". webview模式下正常显示不报错,请问是什么原因

    03-12
    有用
    回复 1
登录 后发表内容