Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用一个名为 sweet-alert.js 的工具,我很困惑我无法选择警报模式上的文本。
它在Firefox中运行良好,有人可以提供解决方案吗?谢谢!!!
http://tristanedwards.me/sweetalert
你需要删除tabIndex=-1
tabIndex=-1
从window.sweetAlertInitialize = function() {
window.sweetAlertInitialize = function() {
在sweet-alert.js
希望它会工作:)
如果您的要求是复制文本,只需在出现后单击警告框,然后按 ctrl+c。它会复制。您无需突出显示文本。