2020年12月4日
摘要: 方法一: DOM.setAttribute("class", "类名") DOM.removeAttribute("class", "类名") 方法二: DOM.classList.add('类名'); //添加类名 DOM.classList.remove('类名'); //删除类名 DOM.cl 阅读全文
posted @ 2020-12-04 10:41 取个名字真wff 阅读(3377) 评论(0) 推荐(1) 编辑