Uncaught (in promise) DOMException: Failed to execute 'postMessage' on 'Window': An object could not be cloned.

你应该在你的postMessage中传入了不可clone的参数。比如一些HTML element。因为这些元素即使传过去了(cloned),也无法操作啊!

posted @ 2020-01-12 01:09  xunhanliu  阅读(13283)  评论(0编辑  收藏  举报