Добавил реанимацию
Правки окна операций
This commit is contained in:
@@ -5,13 +5,15 @@ const props = defineProps({
|
||||
operations: Array
|
||||
})
|
||||
|
||||
const emits = defineEmits(['click'])
|
||||
|
||||
const firstOperation = computed(() => props.operations[0])
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<NTooltip v-if="operations.length" :arrow="false">
|
||||
<template #trigger>
|
||||
<div class="absolute inset-0 p-2 pt-2.5">
|
||||
<div class="absolute inset-0 p-2 pt-2.5" @click="emits('click', operations)">
|
||||
{{ firstOperation?.code_service }}
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user