sample icon indicating copy to clipboard operation
sample copied to clipboard

system.postMessage报错

Open parox2014 opened this issue 4 years ago • 0 comments

问题描述

用web组件打开网页,网页内用system.postMessage向快应用发送消息报错:SyntaxError:Unexpected identifier,但是在华为的快应用调试器内无此错误

问题复现

  1. 用web组件打开一个网页
  2. 网页内调用system.postMessage
  3. 报错

截图

quickapp_postmessage

syntax_error

  • Device: [MeiZu 16th,HuaWei P40]
  • OS: [ Android 8.1]
  • Browser [快应用web组件]
  • Version [1080]

parox2014 avatar Jan 20 '21 05:01 parox2014