refactor: add prefixId
This commit is contained in:
parent
b9234a0eb6
commit
b5866c91f5
3 changed files with 13 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue