|
@@ -25,7 +25,12 @@ export default {
|
|
|
|
|
|
},
|
|
|
mounted(){
|
|
|
- window.startApply = this.startApply;
|
|
|
+ //window.startApply = this.startApply;
|
|
|
+ window.addEventListener('message',({data})=>{
|
|
|
+ if (data.msg == "startApply"){
|
|
|
+ this.startApply(data.data);
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
methods:{
|
|
|
loadSrc(){
|