mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
fix
This commit is contained in:
@@ -6,7 +6,7 @@ export async function getClipboardContent() {
|
|||||||
else {
|
else {
|
||||||
const input = document.createElement('input')
|
const input = document.createElement('input')
|
||||||
document.body.appendChild(input)
|
document.body.appendChild(input)
|
||||||
input.select()
|
input.focus()
|
||||||
document.execCommand('paste')
|
document.execCommand('paste')
|
||||||
const content = input.value
|
const content = input.value
|
||||||
document.body.removeChild(input)
|
document.body.removeChild(input)
|
||||||
|
|||||||
Reference in New Issue
Block a user