控制台直接粘贴、复制、回车就好了,方法来自:https://blog.csdn.net/qiangd/article/details/60130504
var span = document.querySelectorAll('.icon-cover');
for (var i = 0, len = span.length; i < len; i++) {
console.log(span[i].querySelector('span').click());
}
控制台直接粘贴、复制、回车就好了,方法来自:https://blog.csdn.net/qiangd/article/details/60130504
var span = document.querySelectorAll('.icon-cover');
for (var i = 0, len = span.length; i < len; i++) {
console.log(span[i].querySelector('span').click());
}
本文标题:iconfont图标全选
本文链接:https://www.haomeiwen.com/subject/llunkqtx.html
网友评论