refactor: add prefixId

This commit is contained in:
Net 2024-07-30 15:49:38 +07:00
parent b9234a0eb6
commit b5866c91f5
3 changed files with 13 additions and 2 deletions

View file

@ -19,6 +19,7 @@ defineProps<{
noAction?: boolean;
noBg?: boolean;
history?: boolean;
prefixId: string;
}>();
defineEmits<{
@ -60,6 +61,7 @@ defineEmits<{
</div>
<q-btn
v-if="history"
:id="`btn-history-${prefixId}`"
flat
round
class="app-text-muted-2"
@ -70,7 +72,7 @@ defineEmits<{
/>
<q-btn
:id="`btn-dots-${data.code}`"
:id="`btn-dots-${prefixId}`"
:key="data.code"
flat
round