JS控制台报错Uncaught TypeError Cannot read properties of null (reading ‘appendChild‘);的解决方法

阅读 111

2022-03-12

当控制台出现Uncaught TypeError: Cannot read properties of null (reading ‘appendChild’);

解决方法:将html文件中的script标签放在最下面或者中间。

精彩评论(0)

0 0 举报