Добавлен mock для таблицы клиентов

This commit is contained in:
DwCay
2022-10-17 11:18:27 +03:00
parent 5a94912ebe
commit d0cc2e8196
6 changed files with 455 additions and 32 deletions

View File

@@ -26,7 +26,7 @@
span.meeting-time.text-xs.leading-5 {{meetingTime.time}}
td.py-5
.px-4
.relative.dots-button.icon-dots.text-center.cursor-pointer.leading-6(@click="openPopup")
.relative.dots-button.icon-dots.text-center.cursor-pointer.leading-6(:tabindex="1" @click="(e) => openPopup(e)" @blur="handleUnFocusPopup")
clients-action-popup(v-if="isOpenPopup")
</template>
@@ -55,9 +55,13 @@ export default {
meetingTime: Object,
},
methods: {
openPopup() {
openPopup(e) {
e.target.focus();
this.isOpenPopup = !this.isOpenPopup;
},
handleUnFocusPopup() {
this.isOpenPopup = false;
},
},
};
</script>