1、Vue中把要执行的方法挂到window上
created() {
let _this=this;
window.reloadTable=_this.reloadTable;
},
2、普通js内调用方法
if (typeof window.opener.reloadTable == "function") {
window.opener.reloadTable();
}
```
1、Vue中把要执行的方法挂到window上
created() {
let _this=this;
window.reloadTable=_this.reloadTable;
},
2、普通js内调用方法
if (typeof window.opener.reloadTable == "function") {
window.opener.reloadTable();
}
```