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

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

猜你喜欢

转载自www.cnblogs.com/xunhanliu/p/12181687.html