const userInfo = useAppSelector((state) => state.userInfo); const items: DescriptionsProps['items'] = [ { key: '1', label: '姓名', children: <span>{userInfo.name}</span>, }, { key: '2', label: '年齡', children: <span>{userInfo.age}</span>, }, ]; return ( <> <div st...
www.dbjr.com.cn/javascript/308047l...htm 2025-5-14