- 卡密列表展示与分页功能 - 单个/批量创建卡密 - 卡密删除与批量删除 - 卡密导出功能 (file-saver) - 启用/禁用状态切换 - 状态判断 (有效/已使用/已失效) - Toast 通知系统 (vue-sonner) - 登录页面错误提示优化 - 后端登录错误消息中文化
22 lines
593 B
Vue
22 lines
593 B
Vue
<script setup lang="ts">
|
|
import type { AlertDialogTitleProps } from "reka-ui"
|
|
import type { HTMLAttributes } from "vue"
|
|
import { reactiveOmit } from "@vueuse/core"
|
|
import { AlertDialogTitle } from "reka-ui"
|
|
import { cn } from "@/lib/utils"
|
|
|
|
const props = defineProps<AlertDialogTitleProps & { class?: HTMLAttributes["class"] }>()
|
|
|
|
const delegatedProps = reactiveOmit(props, "class")
|
|
</script>
|
|
|
|
<template>
|
|
<AlertDialogTitle
|
|
data-slot="alert-dialog-title"
|
|
v-bind="delegatedProps"
|
|
:class="cn('text-lg font-semibold', props.class)"
|
|
>
|
|
<slot />
|
|
</AlertDialogTitle>
|
|
</template>
|