mirror of
https://gitee.com/technical-laohu/mpay.git
synced 2025-11-10 20:53:42 +08:00
更新文档
This commit is contained in:
@@ -152,7 +152,13 @@
|
||||
table.on('toolDouble(account-table)', function (obj) {
|
||||
if (obj.event === 'copy') {
|
||||
const text = obj.tr[0].querySelector('td[data-field="checkUrl"]>div').innerText;
|
||||
navigator.clipboard.writeText(text).then(() => { layer.msg('复制成功') });
|
||||
if (navigator.clipboard) {
|
||||
navigator.clipboard.writeText(text).then(() => {
|
||||
layer.msg('复制成功');
|
||||
});
|
||||
} else {
|
||||
layer.msg('复制失败,请手动复制');
|
||||
}
|
||||
}
|
||||
});
|
||||
// 表格头部按钮事件
|
||||
|
||||
Reference in New Issue
Block a user