refactor: add define props hide kebeb view and edit
This commit is contained in:
parent
c7c018a974
commit
b2357f5d00
2 changed files with 10 additions and 3 deletions
|
|
@ -20,6 +20,8 @@ defineProps<{
|
|||
urgent?: boolean;
|
||||
hidePreview?: boolean;
|
||||
badgeColor?: string;
|
||||
hideKebabView?: boolean;
|
||||
hideKebabEdit?: boolean;
|
||||
|
||||
customData?: {
|
||||
label: string;
|
||||
|
|
@ -89,6 +91,8 @@ const rand = Math.random();
|
|||
:idName="code"
|
||||
status="ACTIVE"
|
||||
hide-toggle
|
||||
:hide-view="hideKebabView"
|
||||
:hide-edit="hideKebabEdit"
|
||||
@view="$emit('view')"
|
||||
@edit="$emit('edit')"
|
||||
@link="$emit('link')"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue