6***@qq.com
6***@qq.com
  • 发布:2020-04-10 16:44
  • 更新:2020-04-10 18:16
  • 阅读:880

返回首页时偶尔会报这种错误,麻烦大神帮我看一下大概原因是什么

分类:nvue
  • 我首页中是没有使用plus.webview.currentWebview().getTitleNView
  • 从其他页面返回首页时,会报这个错误

16:40:04.184 [JS Framework] Failed to execute the callback function:
16:40:04.205 TypeError: undefined is not an object (evaluating 'plus.webview.currentWebview().getTitleNView')
16:40:04.226 reportJSException >>>> exception function:callJS, exception:JavaScript execute error!Exception: TypeError: undefined is not an object (evaluating 'plus.webview.currentWebview().getTitleNView')
16:40:04.246 weex createInstanceContext:2804:48
16:40:04.267 (weex framework):2:437820
16:40:04.287 consume@(weex framework):2:1418
16:40:04.308 map@[native code]
16:40:04.350 getTemplateInfo== template md5 f6de34654cd56d71558345fb94e8da40 length 380791 base64 md5 9t40ZUzVbXFVg0X7lOjaQA== response header {"templateSourceBase64MD5":["9t40ZUzVbXFVg0X7lOjaQA=="],"templateSourceMD5":["f6de34654cd56d71558345fb94e8da40"]}

16:41:30.323 [JS Framework] Failed to execute the callback function:
16:41:30.344 TypeError: undefined is not an object (evaluating 'plus.webview.currentWebview().getTitleNView')
16:41:30.364 reportJSException >>>> exception function:callJS, exception:JavaScript execute error!Exception: TypeError: undefined is not an object (evaluating 'plus.webview.currentWebview().getTitleNView')
16:41:30.385 weex createInstanceContext:2804:48
16:41:30.406 (weex framework):2:437820
16:41:30.427 consume@(weex framework):2:1418
16:41:30.448 map@[native code]
16:41:30.490 getTemplateInfo== template md5 null ,httpHeader:{}

2020-04-10 16:44 负责人:DCloud_Android_ST 分享
已邀请:
DCloud_Android_ST

DCloud_Android_ST

HX版本号?什么手机? 系统版本?都提供下

  • 6***@qq.com (作者)

    HX版本号: 2.6.9.20200403

    华为: 安卓版本号:5.1 系统版本号:EMUI系统3.1Lite 型号:CUN-AL00 版本号: CUN-AL00C00B138


    2020-04-10 18:16

  • DCloud_Android_ST

    回复 6***@qq.com: 请提供下示例DEMO


    2020-04-10 18:21

  • 6***@qq.com (作者)

    回复 DCloud_Android_ST: DEMO稍等一下,顺便问一下,我在HX2.6.9.20200403版本,SDK配置中,没有发现友盟统计的配置,是移除了吗?我该怎么配置友盟统计呢


    2020-04-10 18:38

  • DCloud_Android_ST

    回复 6***@qq.com: 建议使用新版本测试 HX2.6.11


    2020-04-10 18:43

  • 6***@qq.com (作者)

    回复 DCloud_Android_ST: 友盟统计现在放在哪里了呢?我怎么在manifest中看不到了


    2020-04-10 18:46

  • DCloud_heavensoft

    回复 6***@qq.com: 源码视图里有,可视化界面没有了。推荐使用uni统计


    2020-04-11 00:30

该问题目前已经被锁定, 无法添加新回复