Commit a103d796 authored by 黄奎's avatar 黄奎

ppt行程 getTime拼接

parent 40ae1672
......@@ -34,7 +34,7 @@
//深度监听,可监听到对象、数组的变化
handler: function (val, oldVal) {
if(document.all.myTemplateUrl){
document.all.myTemplateUrl.src = this.Url
document.all.myTemplateUrl.src = this.Url+`&t=${new Date().getTime()}`
}
},
deep: true,
......
......@@ -305,7 +305,7 @@
if (event.data == '行程数据保存成功') {
// this.$emit('ConfigInfo',this.myIframeUrl)
if (document.all.myIframe) {
document.all.myIframe.src = this.myIframeUrl
document.all.myIframe.src = this.myIframeUrl+`&t=${new Date().getTime()}`
}
} else if (event.data == '暂无行程数据') {
this.PostMessageText = event.data
......@@ -316,7 +316,7 @@
let datas = event.data.split('-')
this.myIframeHeigth = datas[1];
if (document.all.myIframe) {
document.all.myIframe.src = this.myIframeUrl
document.all.myIframe.src = this.myIframeUrl+`&t=${new Date().getTime()}`
}
}
}
......@@ -566,7 +566,7 @@
if(this.FeatureData.FeatureType==9) {
// this.iframeLoading = true
if(document.all.myIframe){
document.all.myIframe.src = this.myIframeUrl
document.all.myIframe.src = this.myIframeUrl+`&t=${new Date().getTime()}`
this.isPostMessage = false
}
}
......@@ -656,7 +656,7 @@
}
this.myIframeUrl = `${this.domainManager().PptUrl}/?uid=${this.userInfo.EmployeeId}&ConfigId=${this.$route.query.configId}&index=0&model=3&w=1108`
if(document.all.myIframe){
document.all.myIframe.src = this.myIframeUrl
document.all.myIframe.src = this.myIframeUrl+`&t=${new Date().getTime()}`
this.isPostMessage = false
}
},
......
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