mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
Update admin.js
This commit is contained in:
parent
d0a52963b5
commit
42cbedd4f5
@ -980,7 +980,7 @@ $(function () {
|
||||
(function (content, $textarea) {
|
||||
$body.append($textarea.val(content)), $textarea.select();
|
||||
document.execCommand('Copy') ? $.msg.tips('已复制到剪贴板!') : $.msg.tips('请使用鼠标操作复制!');
|
||||
$textarea.remove(), $textarea.unselect();
|
||||
$textarea.unselect(), $textarea.remove();
|
||||
})(this.dataset.copy, $('<textarea style="position:fixed;top:-500px"></textarea>'));
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user