extra sec test #58

Merged
ksenia_mikhailova merged 1 commits from bx-1146-more_calc into dev 2024-07-26 10:19:13 +03:00
2 changed files with 14 additions and 12 deletions

View File

@ -238,7 +238,7 @@ const policy = () => {
<template v-else> <template v-else>
<h2>данные расчета</h2> <h2>данные расчета</h2>
<div class="flex gap-4 flex-col mb-4 modal-content"> <div class="flex gap-4 flex-col mb-4 modal-content">
<p>Общая длина: {{ total_length }}<br /> <p>Общая длина: {{ total_length }} м<br />
Цвет столба: {{ getColorNameFromRal(pillar_color) }}<br /> Цвет столба: {{ getColorNameFromRal(pillar_color) }}<br />
Цвет ламелей: {{ getColorNameFromRal(lamelle_color) }} Цвет ламелей: {{ getColorNameFromRal(lamelle_color) }}
</p> </p>

View File

@ -62,6 +62,7 @@ watch(props, () => {
}, { deep: true }) }, { deep: true })
</script> </script>
<template> <template>
<template v-if="scene.children[0]">
<TresGroup ref="model" :name="scene.children[0].name"> <TresGroup ref="model" :name="scene.children[0].name">
<Suspense> <Suspense>
<primitive :object="scene.children[0]" :position="(props.position || [0, 0, 0])" /> <primitive :object="scene.children[0]" :position="(props.position || [0, 0, 0])" />
@ -74,3 +75,4 @@ watch(props, () => {
</Suspense> </Suspense>
</TresGroup> </TresGroup>
</template> </template>
</template>