优化弹窗被GuideBar遮挡的问题

This commit is contained in:
2025-11-16 19:40:50 +08:00
parent 6a365be470
commit 9c10f681a6
3 changed files with 82 additions and 42 deletions

13
src/context/index.ts Normal file
View File

@@ -0,0 +1,13 @@
import React from 'react';
// 定义Context类型
interface FamilyContextType {
handleGrandchildTrigger: (data: any) => void;
}
// 创建Context对象
const FamilyContext = React.createContext < FamilyContextType > ({
handleGrandchildTrigger: () => { }
});
export default FamilyContext;