使用 mat-label 元素来代替 ng-content,并将需要放入 mat-form-field 中的内容封装在自定义组件中。
示例代码:
input-field.component.html
使用 input-field 组件:
Username
上一篇:不能在Makefile中运行条件判断。
下一篇:不能在没有LDF日志文件的情况下附加MDF数据库。