lint:fix all

This commit is contained in:
2025-07-29 00:32:57 +08:00
parent 7d2f57df97
commit 1745a54eb6
34 changed files with 820 additions and 606 deletions

View File

@@ -1,10 +1,20 @@
<template>
<UPage>
<NuxtLink v-if="to" :to="to">
<UAlert :icon :title :color="color" :variant="variant" :description="to"
class="mt-2 mb-3 text-black dark:text-white" :ui="{
<NuxtLink
v-if="to"
:to="to"
>
<UAlert
:icon
:title
:color="color"
:variant="variant"
:description="to"
class="mt-2 mb-3 text-black dark:text-white"
:ui="{
icon: iconSize
}">
}"
>
<slot />
</UAlert>
</NuxtLink>
@@ -12,20 +22,18 @@
</template>
<script setup lang="ts">
const {
variant = 'subtle',
title,
icon = 'lucide:bookmark',
color = 'primary',
color = 'primary'
} = defineProps<{
color?: 'primary' | 'error' | 'secondary' | 'success' | 'info' | 'warning' | 'neutral';
description?: string;
title?: string;
to?: string;
icon?: string;
iconSize?: string;
variant?: 'subtle' | 'solid' | 'outline' | 'soft';
}>();
color?: 'primary' | 'error' | 'secondary' | 'success' | 'info' | 'warning' | 'neutral'
description?: string
title?: string
to?: string
icon?: string
iconSize?: string
variant?: 'subtle' | 'solid' | 'outline' | 'soft'
}>()
</script>