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/swipe-cell/type.d.ts | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/miniprogram_npm/tdesign-miniprogram/swipe-cell/type.d.ts b/miniprogram_npm/tdesign-miniprogram/swipe-cell/type.d.ts
index 43614d3..92f5f5f 100644
--- a/miniprogram_npm/tdesign-miniprogram/swipe-cell/type.d.ts
+++ b/miniprogram_npm/tdesign-miniprogram/swipe-cell/type.d.ts
@@ -1,8 +1,4 @@
export interface TdSwipeCellProps {
- style?: {
- type: StringConstructor;
- value?: string;
- };
disabled?: {
type: BooleanConstructor;
value?: boolean;
@@ -12,10 +8,8 @@
value?: Array<SwipeActionItem>;
};
opened?: {
- type: BooleanConstructor;
- optionalTypes: Array<ArrayConstructor>;
+ type: null;
value?: boolean | Array<boolean>;
- required?: boolean;
};
right?: {
type: ArrayConstructor;
@@ -23,7 +17,8 @@
};
}
export interface SwipeActionItem {
- text: string;
+ text?: string;
+ icon?: string | object;
className?: string;
style?: string;
onClick?: () => void;
--
Gitblit v1.9.3