WIP Переделаны справки
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
)
|
||||
.rounded.grey-background.py-3.px-4.blue-color
|
||||
span.font-bold.text-base.line-height Справка
|
||||
.text-sm.line-height.mt-2(:class="{'whitespace-pre-line': data.content?.whitespace}") {{ data.content?.reference}}
|
||||
.text-sm.line-height.mt-2(:class="{'whitespace-pre-line': data.content?.whitespace}") {{ reference }}
|
||||
.w-full.flex.gap-x-1(v-if="!isEdit")
|
||||
.w-full.flex.gap-x-1(v-if="modelValue")
|
||||
.text-sm.line-height.blue-color.py-6px.px-3.grey-background.rounded {{ displayedValue }}
|
||||
@@ -75,6 +75,11 @@ export default {
|
||||
);
|
||||
return null;
|
||||
},
|
||||
reference() {
|
||||
if (this.findedListItem && this.findedListItem?.reference)
|
||||
return this.findedListItem?.reference;
|
||||
return this.data.content?.reference;
|
||||
},
|
||||
displayedValue() {
|
||||
if (this.findedListItem)
|
||||
return this.findedListItem?.readOnlyLabel
|
||||
|
||||
Reference in New Issue
Block a user