feat(web): neo4j type user memory detail

This commit is contained in:
zhaoying
2025-12-26 19:14:26 +08:00
parent 7dd4db52df
commit e11c1bb233
23 changed files with 516 additions and 280 deletions

View File

@@ -4,12 +4,13 @@ import { useUser } from '@/store/user';
// 基础布局组件,用于展示内容并保留用户信息获取功能
const BasicLayout: FC = () => {
const { getUserInfo } = useUser();
const { getUserInfo, getStorageType } = useUser();
// 获取用户信息
useEffect(() => {
getUserInfo();
}, [getUserInfo]);
getStorageType()
}, [getUserInfo, getStorageType]);
return (
<div className="rb:relative rb:h-full rb:w-full">