fix: 补充 investment.ts 类型定义变更(df90fc2 遗漏)

This commit is contained in:
zdl
2025-12-05 15:07:05 +08:00
parent de30489076
commit 68eb2380ad

View File

@@ -131,9 +131,6 @@ export interface PlanningContextValue {
};
// 颜色主题变量(基于当前主题模式)
/** 背景色 */
bgColor: string;
/** 边框颜色 */
borderColor: string;
@@ -146,13 +143,10 @@ export interface PlanningContextValue {
/** 卡片背景色 */
cardBg: string;
// 导航方法(可选,用于空状态引导)
// 导航方法(用于空状态引导)
/** 切换视图模式 */
setViewMode?: (mode: 'calendar' | 'list') => void;
setViewMode: (mode: 'calendar' | 'list') => void;
/** 切换列表 Tab */
setListTab?: (tab: number) => void;
/** 关闭弹窗 */
closeModal?: () => void;
setListTab: (tab: number) => void;
}