🎨chore: 使用 oxlint, oxfmt&格式化代码
This commit is contained in:
@@ -44,15 +44,22 @@ const activeClass = computed(() => {
|
||||
class="px-4 py-3 flex justify-between items-center rounded-lg transition cursor-pointer"
|
||||
>
|
||||
<div class="flex items-center gap-2">
|
||||
<Icon :name="icon" class="text-xl inline"/>
|
||||
<Icon
|
||||
:name="icon"
|
||||
class="text-xl inline"
|
||||
/>
|
||||
<h1 class="flex-1 text-[14px] font-medium line-clamp-1">
|
||||
{{ label }}
|
||||
</h1>
|
||||
</div>
|
||||
<UBadge v-if="admin" color="amber" label="OP" size="xs" variant="subtle"/>
|
||||
<UBadge
|
||||
v-if="admin"
|
||||
color="amber"
|
||||
label="OP"
|
||||
size="xs"
|
||||
variant="subtle"
|
||||
/>
|
||||
</NuxtLink>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
<style scoped></style>
|
||||
|
||||
Reference in New Issue
Block a user