修复显示器列表宽高的变化
This commit is contained in:
parent
4821e2100c
commit
ea83d8023a
|
@ -73,11 +73,6 @@ module.exports = configure(function (ctx) {
|
|||
https: false,
|
||||
port: 8080,
|
||||
open: true, // opens browser window automatically
|
||||
proxy: {
|
||||
"/get_websocket_port": "http://192.168.2.102",
|
||||
"/media_control_client_product.js": "http://192.168.2.102",
|
||||
"/media_control_client_language.js": "http://192.168.2.102",
|
||||
},
|
||||
},
|
||||
|
||||
// https://v2.quasar.dev/quasar-cli/quasar-conf-js#Property%3A-framework
|
||||
|
|
|
@ -119,7 +119,7 @@ export default defineComponent({
|
|||
console.log(e);
|
||||
}
|
||||
|
||||
EventBus.getInstance().on(EventNamesDefine.CheckDebug2, () => {
|
||||
EventBus.getInstance().on(EventNamesDefine.CheckDebug, () => {
|
||||
const to_normal_url = () => {
|
||||
const p1 = window.location.href.indexOf("?debug");
|
||||
const p2 = window.location.href.indexOf("#");
|
||||
|
|
|
@ -2004,9 +2004,13 @@ export default defineComponent({
|
|||
if (wall_dom) {
|
||||
if(item.cmw==1214){
|
||||
item.w=wall_dom.offsetWidth*0.5
|
||||
}else{
|
||||
item.w=(item.cmw/1214) *(wall_dom.offsetWidth*0.5)
|
||||
}
|
||||
if(item.cmh==684){
|
||||
item.h=wall_dom.offsetHeight*0.5
|
||||
}else{
|
||||
item.h=(item.cmh/684) *(wall_dom.offsetHeight*0.5)
|
||||
}
|
||||
item.InitialH = item.h;
|
||||
item.InitialW = item.w;
|
||||
|
|
Loading…
Reference in New Issue