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>
<h2>данные расчета</h2>
<div class="flex gap-4 flex-col mb-4 modal-content">
<p>Общая длина: {{ total_length }}<br />
<p>Общая длина: {{ total_length }} м<br />
Цвет столба: {{ getColorNameFromRal(pillar_color) }}<br />
Цвет ламелей: {{ getColorNameFromRal(lamelle_color) }}
</p>

View File

@ -62,15 +62,17 @@ watch(props, () => {
}, { deep: true })
</script>
<template>
<TresGroup ref="model" :name="scene.children[0].name">
<Suspense>
<primitive :object="scene.children[0]" :position="(props.position || [0, 0, 0])" />
</Suspense>
<Suspense v-if="false">
<Text3D :text="scene.children[0].name"
font='https://raw.githubusercontent.com/Tresjs/assets/main/fonts/FiraCodeRegular.json'>
<TresMeshNormalMaterial color=red />
</Text3D>
</Suspense>
</TresGroup>
<template v-if="scene.children[0]">
<TresGroup ref="model" :name="scene.children[0].name">
<Suspense>
<primitive :object="scene.children[0]" :position="(props.position || [0, 0, 0])" />
</Suspense>
<Suspense v-if="false">
<Text3D :text="scene.children[0].name"
font='https://raw.githubusercontent.com/Tresjs/assets/main/fonts/FiraCodeRegular.json'>
<TresMeshNormalMaterial color=red />
</Text3D>
</Suspense>
</TresGroup>
</template>
</template>