11 2021 档案
css3选择器使用例子
摘要:例1 选择title属性值为 honor/荣耀的span元素 document.querySelector("#sale-card .next-cascader-menu li span[title='honor/荣耀']").click() 例2 css伪类选择器 li:nth-child(eve 阅读全文
posted @ 2021-11-08 01:54 码农-编程小子 阅读(112) 评论(0) 推荐(0)
React循环链表结构js实现
摘要:const queue = { pending: null }; function dispatchAction(action, queue) { const update = { action: action, next: null }; if (queue.pending == null) { 阅读全文
posted @ 2021-11-01 00:42 码农-编程小子 阅读(55) 评论(0) 推荐(0)