Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要从 SPFX 库组件中的列表中获取列表 intem。有人知道怎么做吗?PNP js 或 SPHhtpClient;
请参考代码演示以使用 SPHttpClient 获取列表项:
使用 SharePoint 框架 (SPFx) 检索 SharePoint 列表项
PnP Js 演示:
@pnp/sp/项目