修复九点校正分辨率数据从服务端获取

This commit is contained in:
shefengchun 2023-02-03 14:00:18 +08:00
parent 17b91ca8ee
commit b17435d0dd
1 changed files with 4 additions and 4 deletions

View File

@ -515,8 +515,8 @@ export default defineComponent({
for (let index = 0; index < defaultninepostion.value.length; index++) { for (let index = 0; index < defaultninepostion.value.length; index++) {
defaultninepostion.value[index].x = ninepostion.value[index].x; defaultninepostion.value[index].x = ninepostion.value[index].x;
defaultninepostion.value[index].y = ninepostion.value[index].y; defaultninepostion.value[index].y = ninepostion.value[index].y;
defaultnine.value[index].x = nine[index].x; defaultnine.value[index].x = config.point9[index].def_x;
defaultnine.value[index].y = nine[index].y; defaultnine.value[index].y = config.point9[index].def_y;
} }
if (sessionStorage.SurfaceCorrection) { if (sessionStorage.SurfaceCorrection) {
set_cache.value = JSON.parse(sessionStorage.SurfaceCorrection); set_cache.value = JSON.parse(sessionStorage.SurfaceCorrection);
@ -532,8 +532,8 @@ export default defineComponent({
for (let index = 0; index < defaultninepostion.value.length; index++) { for (let index = 0; index < defaultninepostion.value.length; index++) {
// defaultninepostion.value[index].x = ninepostion.value[index].x; // defaultninepostion.value[index].x = ninepostion.value[index].x;
// defaultninepostion.value[index].y = ninepostion.value[index].y; // defaultninepostion.value[index].y = ninepostion.value[index].y;
defaultnine.value[index].x = nine[index].x; defaultnine.value[index].x = config.point9[index].def_x;
defaultnine.value[index].y = nine[index].y; defaultnine.value[index].y = config.point9[index].def_y;
nine[index].x = config.point9[index].x; nine[index].x = config.point9[index].x;
nine[index].y = config.point9[index].y; nine[index].y = config.point9[index].y;
} }