fix: copy of dark theme (#328)

This commit is contained in:
YangFong 2024-08-19 09:54:19 +08:00 committed by GitHub
parent 6b49a13148
commit fb510ed1a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -113,6 +113,7 @@ function copy() {
toggleDark() toggleDark()
} }
nextTick(() => {
solveWeChatImage() solveWeChatImage()
const clipboardDiv = document.getElementById(`output`) const clipboardDiv = document.getElementById(`output`)
@ -155,6 +156,7 @@ function copy() {
editorRefresh() editorRefresh()
emit(`endCopy`) emit(`endCopy`)
})
}, 350) }, 350)
} }
</script> </script>