refactor: refs #8673 simplify evaNotes display logic in ExtraCommunity.vue
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
0d1f2f33e0
commit
c1536bd762
|
@ -612,28 +612,11 @@ watch(route, () => {
|
||||||
<QTd class="text-right">
|
<QTd class="text-right">
|
||||||
<span>{{ entry.volumeKg }}</span>
|
<span>{{ entry.volumeKg }}</span>
|
||||||
</QTd>
|
</QTd>
|
||||||
<QTd :colspan="entry.showEvaNotes ? 4 : 1">
|
<QTd :colspan="5" class="text-right">
|
||||||
<span
|
<span>
|
||||||
v-if="entry.showEvaNotes"
|
|
||||||
style="white-space: pre-wrap; word-break: break-word"
|
|
||||||
>
|
|
||||||
{{ entry.evaNotes }}
|
{{ entry.evaNotes }}
|
||||||
</span>
|
</span>
|
||||||
</QTd>
|
</QTd>
|
||||||
<QTd v-if="!entry.showEvaNotes" />
|
|
||||||
<QTd v-if="!entry.showEvaNotes" />
|
|
||||||
<QTd v-if="!entry.showEvaNotes" />
|
|
||||||
<QTd>
|
|
||||||
<QBtn
|
|
||||||
v-if="entry.evaNotes"
|
|
||||||
icon="comment"
|
|
||||||
size="md"
|
|
||||||
flat
|
|
||||||
color="primary"
|
|
||||||
@click="entry.showEvaNotes = !entry.showEvaNotes"
|
|
||||||
>
|
|
||||||
</QBtn>
|
|
||||||
</QTd>
|
|
||||||
</QTr>
|
</QTr>
|
||||||
</template>
|
</template>
|
||||||
</QTable>
|
</QTable>
|
||||||
|
|
Loading…
Reference in New Issue