refactor: 迁移到 @nuxt/ui@4

- https://ui.nuxt.com/docs/getting-started/migration/v4#changes-from-v3
This commit is contained in:
2026-02-10 21:51:21 +08:00
parent 8198c853c9
commit fa756d8c97
9 changed files with 24 additions and 24 deletions

View File

@@ -476,7 +476,7 @@ const onDeleteCat = (cat: PPTCategory) => {
<div class="space-y-4">
<UFormField label="创建分类">
<UButtonGroup
<UFieldGroup
orientation="horizontal"
class="w-full"
size="lg"
@@ -493,7 +493,7 @@ const onDeleteCat = (cat: PPTCategory) => {
:disabled="!createCatInput"
@click="onCreateCat"
/>
</UButtonGroup>
</UFieldGroup>
</UFormField>
<div class="rounded-md border dark:border-neutral-700">
<UTable