小编use*_*822的帖子

角度 9:无法在 MatSelect.ngAfterContentInit 读取未定义的属性“管道”

我正在使用 angular 9 并添加了 angular 材料,但是当我想使用 mat-select 时,我无法选择该选项并出现以下错误。

core.js:6241 ERROR TypeError: Cannot read property 'pipe' of undefined
    at MatSelect.ngAfterContentInit (select.js:609)
    at callHook (core.js:4726)
    at callHooks (core.js:4690)
    at executeInitAndCheckHooks (core.js:4630)
    at refreshView (core.js:12054)
    at refreshComponent (core.js:13458)
    at refreshChildComponents (core.js:11729)
    at refreshView (core.js:12064)
    at refreshEmbeddedViews (core.js:13404)
    at refreshView (core.js:12035)
Run Code Online (Sandbox Code Playgroud)

angular-material angular

6
推荐指数
1
解决办法
719
查看次数

如何在python中合并多个对象数组?

我有两个数组列表,我不知道如何在 python 中合并多个对象数组?

[{'name': 'James'}, {'name': 'Abhinay'}, {'name': 'Peter'}]

[{'age': 1}, {'age': 2}, {'age': 3}]
Run Code Online (Sandbox Code Playgroud)

我想要的是

[{'name': 'James','age':1}, {'name': 'Abhinay','age':2}, {'name': 'Peter','age':3}]
Run Code Online (Sandbox Code Playgroud)

python dictionary list python-3.x

1
推荐指数
1
解决办法
91
查看次数