Fix Options item labels
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
73703dc778
commit
b4d92d4f97
|
@ -117,16 +117,18 @@ onBeforeMount(async () => {
|
||||||
hide-selected
|
hide-selected
|
||||||
>
|
>
|
||||||
<template #option="scope">
|
<template #option="scope">
|
||||||
<QItem v-bind="scope.itemProps">
|
<QItem class="column" v-bind="scope.itemProps">
|
||||||
<QItemSection style="max-width: 20%">
|
<QItemLabel class="row">
|
||||||
<QItemLabel>
|
<span style="width: 3em">
|
||||||
{{ scope.opt?.code }}
|
{{ scope.opt?.code }}
|
||||||
</QItemLabel>
|
</span>
|
||||||
<QItemLabel caption>
|
<span>
|
||||||
{{ scope.opt?.category?.name }}
|
{{ scope.opt?.name }}
|
||||||
</QItemLabel>
|
</span>
|
||||||
</QItemSection>
|
</QItemLabel>
|
||||||
<QItemSection>{{ scope.opt?.name }}</QItemSection>
|
<QItemLabel v-if="scope.opt?.category" caption>
|
||||||
|
{{ scope.opt?.category?.name }}
|
||||||
|
</QItemLabel>
|
||||||
</QItem>
|
</QItem>
|
||||||
</template>
|
</template>
|
||||||
</VnSelectFilter>
|
</VnSelectFilter>
|
||||||
|
|
Loading…
Reference in New Issue