优化ui细节
This commit is contained in:
parent
14076866ec
commit
75311073cb
|
@ -717,14 +717,14 @@ export default defineComponent({
|
||||||
let tmp = JSON.parse($store.state.fusion_configuration);
|
let tmp = JSON.parse($store.state.fusion_configuration);
|
||||||
for (let index = 0; index < options_resolution.value.length; index++) {
|
for (let index = 0; index < options_resolution.value.length; index++) {
|
||||||
let arr = options_resolution.value[index].label.split('*');
|
let arr = options_resolution.value[index].label.split('*');
|
||||||
if(tmp.projector_width==Number(arr[1])&&tmp.projector_height==Number(arr[0])){
|
if(tmp.projector_width==Number(arr[0])&&tmp.projector_height==Number(arr[1])){
|
||||||
now_resolution.value=index
|
now_resolution.value=index
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (let index = 0; index < projectorlayout.value.length; index++) {
|
for (let index = 0; index < projectorlayout.value.length; index++) {
|
||||||
let arr = projectorlayout.value[index].label.split('x');
|
let arr = projectorlayout.value[index].label.split('x');
|
||||||
|
|
||||||
if(tmp.row==Number(arr[1])&&tmp.col==Number(arr[0])){
|
if(tmp.row==Number(arr[0])&&tmp.col==Number(arr[1])){
|
||||||
now_select_projectorlayout.value=index
|
now_select_projectorlayout.value=index
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue