src 的 about:_blank 取消事先的链接。
<script lang="ts" setup>
const openURL = ()=>{
window.open("www.abc.jpg", 'frame', 'width=800px,height=800px')
}
</script>
<template>
<div name="frame">
<iframe
src="about:_blank"
width="1000px"
height="1000px"
frameborder="1"
scrolling="no"
name="frame">112
</iframe>
</div>
<el-button type="primary" :icon="Edit"
@click="openURL">Edit Template</el-button>
</template>