diff --git a/components/model/item.vue b/components/model/item.vue index b03bc64..fcb82f7 100644 --- a/components/model/item.vue +++ b/components/model/item.vue @@ -37,7 +37,7 @@ type vectorType = 'x' | 'y' | 'z'; onLoop(() => { if (model.value && target.value) { axis.forEach(element => { - if(target.value) { + if (target.value) { const point = model.value.position[element.axis] let step = stepbase * target.value[element.axis as vectorType] if (step !== 0) { @@ -60,10 +60,6 @@ watch(props, () => { \ No newline at end of file