魔墙:修改角度超出问题,以及显示器列表全部设置为一样的默认值

This commit is contained in:
miao 2023-03-08 17:28:08 +08:00
parent caac3e3d60
commit 7213e6bddb
1 changed files with 17 additions and 8 deletions

View File

@ -122,6 +122,7 @@
v-if="current_index > -1" v-if="current_index > -1"
type="number" type="number"
min="0" min="0"
oninput="if(value<0)value=0;if(value>360)value=parseInt(value/10);"
v-model="test_monitor_wall[current_index].angle" v-model="test_monitor_wall[current_index].angle"
@keydown="testLog($event)" @keydown="testLog($event)"
hint="" hint=""
@ -877,14 +878,14 @@ export default defineComponent({
new test_monitor(1, "02", aw, ah, ar), new test_monitor(1, "02", aw, ah, ar),
new test_monitor(2, "03", aw, ah, ar), new test_monitor(2, "03", aw, ah, ar),
new test_monitor(3, "04", aw, ah, ar), new test_monitor(3, "04", aw, ah, ar),
new test_monitor(4, "05", bw, bh, br), new test_monitor(4, "05", aw, ah, ar),
new test_monitor(5, "06", bw, bh, br), new test_monitor(5, "06", aw, ah, ar),
new test_monitor(6, "07", bw, bh, br), new test_monitor(6, "07", aw, ah, ar),
new test_monitor(7, "08", bw, bh, br), new test_monitor(7, "08", aw, ah, ar),
new test_monitor(8, "09", cw, ch, cr), new test_monitor(8, "09", aw, ah, ar),
new test_monitor(9, "10", cw, ch, cr), new test_monitor(9, "10", aw, ah, ar),
new test_monitor(10, "11", cw, ch, cr), new test_monitor(10, "11", aw, ah, ar),
new test_monitor(11, "12", cw, ch, cr), new test_monitor(11, "12", aw, ah, ar),
]; ];
}; };
interface show__Rect { interface show__Rect {
@ -1459,6 +1460,9 @@ export default defineComponent({
} }
}); });
} }
test_monitor_list.value.forEach((ele) => {
ele.isHide = false;
});
const wall_dom = wall.value; const wall_dom = wall.value;
if (a && wall_dom) { if (a && wall_dom) {
test_monitor_wall.value = []; test_monitor_wall.value = [];
@ -1638,6 +1642,11 @@ export default defineComponent({
realtime_upload(); realtime_upload();
}; };
let list_magic: any = []; let list_magic: any = [];
const detect=(list:any)=>{
list.forEach((ele:any)=>{
})
}
EventBus.getInstance().on( EventBus.getInstance().on(
EventNamesDefine.NotifyMessage, EventNamesDefine.NotifyMessage,
(notify: NotifyMessage) => { (notify: NotifyMessage) => {