VScode抛出错误:Cannot set property ‘innerHTML’ of null document is not undefined 因为这里涉及js的调用:js自上而下调用,将js脚本引入放在html尾部,问题解决