<el-dialog fullscreen title="设备拓扑":visible.sync="sbtpVisible"><iframeid="bdIframe"frameborder="0":src="sbtpIframeSrc"/></el-dialog>showSbtp(row) {this.sbtpVisible=true;this.sbtpIframeSrc="链接地址";this.$nextTick(() =>{/** * iframe-宽高自适应显示 */constoIframe =document.ge...
如果你需要引入其他项目的页面,可以使用<iframe>标签来嵌入这些页面。这种方式不需要直接在你的Vue项目中包含其他项目的代码,只需要知道这些页面的URL即可。 2. 使用el-dialog组件承载引入的页面 你可以使用Element UI的el-dialog组件来承载<iframe>标签,这样可以在需要时以弹窗的形式展示其他项目的页面...