Compare commits
2 Commits
e2169043a1
...
3dab421342
| Author | SHA1 | Date |
|---|---|---|
|
|
3dab421342 | |
|
|
10e80ad25e |
|
|
@ -105,12 +105,16 @@
|
|||
that.mqttInit();
|
||||
// 初始化设备状态
|
||||
initDeviceStatus();
|
||||
|
||||
if(data.dis_type == 1 ){
|
||||
|
||||
let iframe = document.querySelector('iframe');
|
||||
let iframeDoc = iframe.contentDocument || iframe.contentWindow.document;
|
||||
|
||||
if(data.dis_type == 1 ){
|
||||
that.popwidth = '80%' ;
|
||||
document.getElementById("scale").setAttribute("style","display:none")
|
||||
iframeDoc.querySelector('.operateColumn').setAttribute("style","display:none");
|
||||
}else{
|
||||
that.popwidth = '30%' ;
|
||||
iframeDoc.querySelector('.operateColumn').setAttribute("style","display:initial");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue