From 00a96d6881dd10ae7d3c4f5437bfceaabe677723 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期四, 14 十一月 2024 10:55:29 +0800 Subject: [PATCH] bug修复 --- miniprogram_npm/tdesign-miniprogram/footer/type.d.ts | 26 +++++++++++++++----------- 1 files changed, 15 insertions(+), 11 deletions(-) diff --git a/miniprogram_npm/tdesign-miniprogram/footer/type.d.ts b/miniprogram_npm/tdesign-miniprogram/footer/type.d.ts index 7e4a8ff..394832e 100644 --- a/miniprogram_npm/tdesign-miniprogram/footer/type.d.ts +++ b/miniprogram_npm/tdesign-miniprogram/footer/type.d.ts @@ -1,24 +1,28 @@ export interface TdFooterProps { - text?: { - type: StringConstructor; - value?: string; + links?: { + type: ArrayConstructor; + value?: Array<LinkObj>; }; logo?: { type: ObjectConstructor; value?: FooterLogo; }; - links?: { - type: ArrayConstructor; - value?: Array<LinkObj>; + style?: { + type: StringConstructor; + value?: string; }; -} -export interface FooterLogo { - icon: string; - title?: string; - titleUrl?: string; + text?: { + type: StringConstructor; + value?: string; + }; } export interface LinkObj { name: string; url?: string; openType?: 'navigate' | 'redirect' | 'relaunch' | 'switchTab' | 'navigateBack'; } +export interface FooterLogo { + icon: string; + title?: string; + url?: string; +} -- Gitblit v1.9.3