From 3282e95db0207ee133d1e98d9771dec9d83b0fc4 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 02 四月 2026 16:24:38 +0800
Subject: [PATCH] 2026.4.2 新增专题管理功能
---
miniprogram_npm/tdesign-miniprogram/indexes/type.d.ts | 24 ++++++++----------------
1 files changed, 8 insertions(+), 16 deletions(-)
diff --git a/miniprogram_npm/tdesign-miniprogram/indexes/type.d.ts b/miniprogram_npm/tdesign-miniprogram/indexes/type.d.ts
index bcfb5d1..84c7db4 100644
--- a/miniprogram_npm/tdesign-miniprogram/indexes/type.d.ts
+++ b/miniprogram_npm/tdesign-miniprogram/indexes/type.d.ts
@@ -1,15 +1,15 @@
export interface TdIndexesProps {
- style?: {
- type: StringConstructor;
- value?: string;
+ current?: {
+ type: null;
+ value?: string | number;
+ };
+ defaultCurrent?: {
+ type: null;
+ value?: string | number;
};
indexList?: {
type: ArrayConstructor;
- value?: string[] | number[];
- };
- list?: {
- type: ArrayConstructor;
- value?: ListItem[];
+ value?: Array<string | number>;
};
sticky?: {
type: BooleanConstructor;
@@ -19,12 +19,4 @@
type: NumberConstructor;
value?: number;
};
-}
-export interface ListItem {
- title: string;
- index: string;
- children: {
- title: string;
- [key: string]: any;
- }[];
}
--
Gitblit v1.9.3