From 6656325e7f9cf76d5d25a83658c6748e8f5afddf Mon Sep 17 00:00:00 2001 From: Theo Date: Mon, 9 Sep 2024 12:44:15 +0800 Subject: [PATCH] fix(HomeFooter): make `internal` property optional in type definition --- packages/Lumen/components/HomeFooter.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/Lumen/components/HomeFooter.vue b/packages/Lumen/components/HomeFooter.vue index 3fd6672..390b623 100644 --- a/packages/Lumen/components/HomeFooter.vue +++ b/packages/Lumen/components/HomeFooter.vue @@ -9,7 +9,7 @@ import { ref, onMounted, onUnmounted, computed } from 'vue' * @property {Array} Footer_Data.group - 分组数据,每个分组包含以下属性: * @property {string} [icon] - 图标(可选)。 * @property {string} title - 标题。 - * @property {boolean} internal - 是否为内部链接。 + * @property {boolean} internal - 是否为内部链接。默认为`false`(可选) * @property {Array} links - 链接列表,每个链接包含以下属性: * @property {string} [icon] - 图标(可选)。 * @property {string} name - 链接名称。 @@ -27,7 +27,7 @@ const props = defineProps<{ group: Array<{ icon?: string title: string - internal: boolean + internal?: boolean links: Array<{ icon?: string name: string