Commit 5ec03a67 authored by 张伯涛's avatar 张伯涛

ar问题修改

parent 4f8d0409
...@@ -67,7 +67,7 @@ export default { ...@@ -67,7 +67,7 @@ export default {
}, },
beforeDestroy() { beforeDestroy() {
if (this.control) { if (this.control) {
this.control.setWindowStatus(0); this.control.setWindowStatus(2);
this.control = null; this.control = null;
} }
}, },
...@@ -100,20 +100,22 @@ export default { ...@@ -100,20 +100,22 @@ export default {
} }
}, },
init() { init() {
// 初始化 console.log('window.innerWidth',window.innerWidth)
if (this.control) { console.log('window.innerHeight',window.innerHeight)
this.control.setWindowStatus(0); // // 初始化
this.control = null; // if (this.control) {
} // this.control.setWindowStatus(2);
// this.control = null;
// }
const loginType = 3; const loginType = 3;
const ip = '111.160.132.74'; const ip = '111.160.132.74';
const port = this.raData.port; const port = this.raData.port;
const userName = this.raData.username; const userName = this.raData.username;
const loginKey = this.raData.tgc; const loginKey = this.raData.tgc;
const left = '10'; const left = '0';
const top = '150'; const top = '100';
const width = '1900'; const width = window.innerWidth;
const height = '850'; const height = window.innerHeight-25;
// const protocolType = this.protocolType // const protocolType = this.protocolType
const protocolType = 'https' const protocolType = 'https'
const domainId = 103 const domainId = 103
......
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