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/dialog/type.d.ts | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/miniprogram_npm/tdesign-miniprogram/dialog/type.d.ts b/miniprogram_npm/tdesign-miniprogram/dialog/type.d.ts index cb8107f..ef3c799 100644 --- a/miniprogram_npm/tdesign-miniprogram/dialog/type.d.ts +++ b/miniprogram_npm/tdesign-miniprogram/dialog/type.d.ts @@ -1,4 +1,5 @@ import { ButtonProps } from '../button/index'; +import { TdOverlayProps as OverlayProps } from '../overlay/type'; export interface TdDialogProps { actions?: { type: ArrayConstructor; @@ -14,7 +15,7 @@ }; closeBtn?: { type: null; - value?: boolean | object; + value?: boolean | ButtonProps | null; }; closeOnOverlayClick?: { type: BooleanConstructor; @@ -28,17 +29,13 @@ type: StringConstructor; value?: string; }; - style?: { - type: StringConstructor; - value?: string; - }; externalClasses?: { type: ArrayConstructor; value?: ['t-class', 't-class-content', 't-class-confirm', 't-class-cancel']; }; overlayProps?: { type: ObjectConstructor; - value?: object; + value?: OverlayProps; }; preventScrollThrough?: { type: BooleanConstructor; @@ -48,10 +45,18 @@ type: BooleanConstructor; value?: boolean; }; + style?: { + type: StringConstructor; + value?: string; + }; title?: { type: StringConstructor; value?: string; }; + usingCustomNavbar?: { + type: BooleanConstructor; + value?: boolean; + }; visible?: { type: BooleanConstructor; value?: boolean; -- Gitblit v1.9.3