父级向iframe内部发送 const mapFrame = this.$refs.iframeref;//处理兼容 if (mapFrame.attachEvent) { mapFrame.attachEvent('onload', function() { const iframeWin = mapFrame.contentWindow iframeWin.postMessage(data, '*') })} else { mapFrame.o
专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]
Copyright (C)ICode9.com, All Rights Reserved.
ICode9版权所有