feat: support more actions for user

This commit is contained in:
三咲智子 2022-11-26 20:58:10 +08:00
parent 3d7d2ca405
commit 84478984dc
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
12 changed files with 184 additions and 37 deletions

View file

@ -19,6 +19,7 @@ const handleClick = (evt: MouseEvent) => {
<template>
<div
flex gap-3 items-center cursor-pointer px4 py3 hover-bg-active
v-bind="$attrs"
@click="handleClick"
>
<div v-if="icon" :class="icon" />
@ -38,5 +39,6 @@ const handleClick = (evt: MouseEvent) => {
<div flex-auto />
<div v-if="checked" i-ri:check-line />
<slot name="actions" />
</div>
</template>