链接复制功能
This commit is contained in:
@@ -255,7 +255,6 @@
|
||||
// 复制链接
|
||||
function copy_url(id) {
|
||||
let href = location.href + `detail?id=${id}`;
|
||||
console.log(href)
|
||||
navigator.clipboard.writeText(href)
|
||||
.then(() => {
|
||||
// Success!
|
||||
|
||||
Reference in New Issue
Block a user