我正在尝试从材料2和一个本机表中进行垫子表https://github.com/angular/material2/blob/master/src/demo-app/table/native-table/native-table/native-table.html但是我得到下一条消息。
未接收错误:模板解析错误:由于它不是"表"的已知属性,因此无法绑定到"数据源"。("(" ] [dataSource] =" dataSource" Matsort [class.ismobile] =" ismobile">
有人知道发生了什么事吗?
这仅是最近添加的,并在Dev Master Branch中合并了火星
https://github.com/angular/material2/pull/10594
因此,除非您使用Dev Master用于Angular材料,否则您必须等待此功能才能在适当的版本中提供