public.js:18 Uncaught TypeError: Cannot read property 'getElementsByTagName'这意思是说无法从null中读取属性getElementsByTagName,这个null是指前面的那个document.getElementById("Indextab"),也就是说js在Dom中未找到id为Indext2023-03-02JavaScript240