202011-17 Vue 使用iframe引用html页面实现vue和html页面方法的调用操作 当我们需要在vue中使用其他模块或者其他地方的一些html页面功能时,我们可以使用iframe去引用html页面,实现他们的交互首先我们可以再vue页面中使用标签引用html页面<template><div><iframename="iframeMap"id="iframeMapViewComponent"width="100%"height="470px"v-bind:src="smgHtmlPath"frameborder="0"scrolling="no"ref="iframeDom"></iframe></div></template>其中src就是我们html的地址,我... 继续阅读 >