refactor: add nameId FileItemAction
This commit is contained in:
parent
81f6fc8429
commit
dcf92f7018
2 changed files with 20 additions and 9 deletions
|
|
@ -1,9 +1,17 @@
|
|||
<script lang="ts" setup>
|
||||
defineEmits(['edit', 'delete'])
|
||||
|
||||
const props =
|
||||
defineProps<{
|
||||
nameId: string
|
||||
|
||||
}>()
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<q-btn @click.stop icon="more_vert" color="grey" flat dense>
|
||||
<q-btn @click.stop icon="more_vert" color="grey" flat dense :id="props.nameId">
|
||||
<q-menu auto-close>
|
||||
<q-list dense>
|
||||
<q-item clickable @click="() => $emit('edit')" id="FileltemActionEdit">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue