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.
这是输出,代码在此链接 github 片段中
你需要使用:
import { createSelector } from "@ngrx/store";
从应用程序状态获取切片,并使用另一个函数获取所需属性的切片。