小编Tan*_*war的帖子

Angular 6 - 错误 DOMException:无法在“元素”上执行“setAttribute”:

我是 Angular 6 的新手。我已经在 component.js 文件中分配了公共属性,并且这些值没有在 component.html 文件中呈现。我附上了 chrome log 、 component.ts 和 component.html 文件。

如果您能让我知道我哪里做错了,我们将不胜感激。

html文件 脚本文件 Chrome colsole 日志

javascript dom domexception angular

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

标签 统计

angular ×1

dom ×1

domexception ×1

javascript ×1