diff --git a/src/components/common/custom-module/model-image/model-image-style.vue b/src/components/common/custom-module/model-image/model-image-style.vue index 261eb3b4..19009184 100644 --- a/src/components/common/custom-module/model-image/model-image-style.vue +++ b/src/components/common/custom-module/model-image/model-image-style.vue @@ -109,7 +109,9 @@ watch( diy_data.value.location.x = location_compute(width, val.location.x, 390); diy_data.value.location.y = location_compute(height, val.location.y, center_height.value); - diy_data.value.location.staging_y = diy_data.value.location.y; + diy_data.value.location.record_x = location_compute(width, val.location.record_x, 390); + diy_data.value.location.record_y = location_compute(height, val.location.record_y, center_height.value); + diy_data.value.location.staging_y = location_compute(height, val.location.staging_y, center_height.value); form.value.com_width = width; form.value.com_height = height; diff --git a/src/components/common/custom-module/model-lines/model-lines-style.vue b/src/components/common/custom-module/model-lines/model-lines-style.vue index d996539c..2de993e0 100644 --- a/src/components/common/custom-module/model-lines/model-lines-style.vue +++ b/src/components/common/custom-module/model-lines/model-lines-style.vue @@ -69,7 +69,10 @@ watch(diy_data, (val) => { diy_data.value.location.x = location_compute(width, val.location.x, 390); diy_data.value.location.y = location_compute(height, val.location.y, center_height.value); - diy_data.value.location.staging_y = diy_data.value.location.y; + + diy_data.value.location.record_x = location_compute(width, val.location.record_x, 390); + diy_data.value.location.record_y = location_compute(height, val.location.record_y, center_height.value); + diy_data.value.location.staging_y = location_compute(height, val.location.staging_y, center_height.value); form.value.com_width = width; form.value.com_height = height; diff --git a/src/components/common/custom-module/model-text/model-text-style.vue b/src/components/common/custom-module/model-text/model-text-style.vue index cf294565..d641a026 100644 --- a/src/components/common/custom-module/model-text/model-text-style.vue +++ b/src/components/common/custom-module/model-text/model-text-style.vue @@ -110,7 +110,7 @@ diff --git a/src/components/model-custom/model-custom-content.vue b/src/components/model-custom/model-custom-content.vue index 34759589..be341d15 100644 --- a/src/components/model-custom/model-custom-content.vue +++ b/src/components/model-custom/model-custom-content.vue @@ -26,7 +26,9 @@ @@ -63,6 +65,8 @@ const diy_data = ref({ location: { x: 0, y: 0, + record_x: 0, + record_y: 0, staging_y: 0, }, com_data: {},