• Copyrights © 2021-2024 John Doe
  • 访问人数: | 浏览次数:

让我给大家分享喜悦吧!

微信
$icon.addClass('ri-time-line'); let $span = $($btn.find('span')); $span[0].innerText = 'COPY FAILED'; wait(function () { // 等待两秒钟后恢复 $icon.removeClass('ri-time-line'); $icon.addClass('ri-file-copy-2-line'); $span[0].innerText = 'COPY'; }, 2000); }); } initCopyCode(); }(window, document);