Commit cc9255e0 authored by youjie's avatar youjie

ppt保存后 更新 iframe

parent 73940d8d
......@@ -299,11 +299,15 @@
this.dialogPptistVisible = false
},
handleMessage(event,targetOrigin) {
console.log(event.data,'-----------event.data')
if(event.data&&event.data.data&&!event.data.data) return
if(this.isPostMessage) return
if(event.data&&event.data=='行程数据保存成功'){
// this.dialogPptistVisible = false
this.$emit('ConfigInfo')
if(document.all.myIframe){
document.all.myIframe.src = this.myIframeUrl
}
}else if(event.data&&event.data.indexOf('行程特色高')!=-1){
this.PostMessageText = ''
let datas = event.data.split('-')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment