这个类型为Store<fromExample.State>的变量:
![](https://img.haomeiwen.com/i2085791/dc82e2b0ae6e5475.png)
本质是个Observable:
![](https://img.haomeiwen.com/i2085791/1c495ba3e048b406.png)
store的source字段的_value里,包含了两个state的初始值:
![](https://img.haomeiwen.com/i2085791/3c7a2976f5da7ddf.png)
更多Jerry的原创文章,尽在:"汪子熙":
![](https://img.haomeiwen.com/i2085791/7cc33388ba14e967.png)
这个类型为Store<fromExample.State>的变量:
本质是个Observable:
store的source字段的_value里,包含了两个state的初始值:
更多Jerry的原创文章,尽在:"汪子熙":
本文标题:ngrx注入到应用类构造函数里的store变量
本文链接:https://www.haomeiwen.com/subject/wxaovktx.html
网友评论