Commit c4faabd1 authored by mahui's avatar mahui

init

parent 3e2708e2
......@@ -35,12 +35,14 @@
}
},
watch:{
url(){
url(val){
if(val){
this.$nextTick(()=>{
this.init();
window.addEventListener('onresize',this.resize);
})
}
}
},
methods: {
play() {
......
......@@ -439,6 +439,8 @@
});
}
function getMonitorInfo() {
state.detail.accessToken = '';
state.detail.url = '';
api.getMonitorInfo({id:props.site_id}).then((res)=>{
if(res.code==0){
if(res.data.access_token){
......
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