diff --git a/components/calcModels.vue b/components/calcModels.vue index 6e2a7a3..2b96ec4 100644 --- a/components/calcModels.vue +++ b/components/calcModels.vue @@ -6,6 +6,7 @@ import { OrbitControls, Environment, useGLTF } from '@tresjs/cientos' const section_count = useState('section_count') const fence_section = useState('fence_section') const extra_section = useState('extra_section') +const max_size = useState('max_size') const controlsState = reactive({ distance: section_count.value, @@ -83,7 +84,7 @@ watch(section_count, () => { - + diff --git a/components/calcValues.vue b/components/calcValues.vue index 6d0021c..6a83be1 100644 --- a/components/calcValues.vue +++ b/components/calcValues.vue @@ -196,7 +196,7 @@ const plurals = { Забор общей длиной {{ form_state.total_length }}{{ '\xa0' }}м, {{ section_count }} по - {{ (form_state.length || 0).toFixed(2) }}{{ '\xa0' }}мм {{ section_count * lamelles_count }} - {{ `длиной ${form_state.length.toFixed(2)}\xa0мм` }}