Skip to content

Commit

Permalink
fix: nav type
Browse files Browse the repository at this point in the history
Signed-off-by: ZTL-UwU <zhangtianli2006@163.com>
  • Loading branch information
ZTL-UwU committed May 25, 2024
1 parent abe5c49 commit 89053f8
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions components/layout/Header/NavMobileItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,10 @@
</template>

<script setup lang="ts">
import type { AppConfigInput } from 'nuxt/schema';
const props = defineProps<{
item: {
title: string;
links: {
title: string;
to: string;
description: string;
target: string;
}[];
to?: undefined;
target?: undefined;
} | {
title: string;
to: string;
target: string;
links?: undefined;
};
item: Exclude<AppConfigInput['shadcnDocs'], undefined>['header']['nav'][0];
index: number;
}>();
Expand Down

0 comments on commit 89053f8

Please sign in to comment.