实时监控操作页面关闭事件处理

merge-requests/1/head
张鑫 5 years ago
parent d1f35ba05d
commit a31ae9d689

@ -137,7 +137,7 @@ export default {
}, },
showModel(item){ showModel(item){
console.log(11111) console.log(11111)
// this.player.destroy() this.player.destroy()
console.log(item) console.log(item)
this.visible = true this.visible = true
// this.$router.push({path: '/realTimeMonitoring/model', query: {id: "2"}}); // this.$router.push({path: '/realTimeMonitoring/model', query: {id: "2"}});

@ -140,7 +140,11 @@ export default {
handleCancel() { handleCancel() {
console.log('Clicked cancel button'); console.log('Clicked cancel button');
console.log(this.title); console.log(this.title);
location.reload();
setTimeout(function () {
this.$emit('close',false,{}) this.$emit('close',false,{})
})
}, },
}, },
}; };

Loading…
Cancel
Save