<el-col :span="4" class="f-right" v-show="false">
<iframe name = "child" ref="iframeDom" id = "child" src="../../../../../static/test.html" width="140" height="30" frameborder="0" scrolling="no" style="position:related;top: 2.8px;left: 0px;"></iframe>
</el-col>
publict文件下面新增 static文件夹 里面放test.html
test.html引入js <script src="js/ec_ca.js"></script>
vue调取iframe方法
this.$refs.iframeDom.contentWindow.doCASign(a,b)