Closed 80631004 closed 6 years ago
ERROR Error: Uncaught (in promise): Error: Template parse errors: Can't bind to 'schema' since it isn't a known property of 'nz-sf'.
<nz-sf [ERROR ->][schema]="schema">"): ng:///DemoTableMgrModule/TableMgrAddComponent.html@17:7
建议在 SharedModule 中导入
在shared.module.ts中添加NzSchemaFormModule.forRoot() ,依然报上面错
import中需要forRoot,export不需要forRoot@80631004
ERROR Error: Uncaught (in promise): Error: Template parse errors: Can't bind to 'schema' since it isn't a known property of 'nz-sf'.
<nz-sf [ERROR ->][schema]="schema">"): ng:///DemoTableMgrModule/TableMgrAddComponent.html@17:7