Skip to content

Commit

Permalink
fix(HomeFooter): make internal property optional in type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Theo-Messi committed Sep 9, 2024
1 parent 59460d4 commit 6656325
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/Lumen/components/HomeFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { ref, onMounted, onUnmounted, computed } from 'vue'
* @property {Array<Object>} Footer_Data.group - 分组数据,每个分组包含以下属性:
* @property {string} [icon] - 图标(可选)。
* @property {string} title - 标题。
* @property {boolean} internal - 是否为内部链接。
* @property {boolean} internal - 是否为内部链接。默认为`false`(可选)
* @property {Array<Object>} links - 链接列表,每个链接包含以下属性:
* @property {string} [icon] - 图标(可选)。
* @property {string} name - 链接名称。
Expand All @@ -27,7 +27,7 @@ const props = defineProps<{
group: Array<{
icon?: string
title: string
internal: boolean
internal?: boolean
links: Array<{
icon?: string
name: string
Expand Down

0 comments on commit 6656325

Please sign in to comment.