11
This commit is contained in:
1 parent
5e038a466c
commit
57950c6aa1
1 file changed
+3
@@ -179,6 +179,9 @@ const openForm = () => {
|
||||
const copyToClipboard = (text: string) => {
|
||||
navigator.clipboard.writeText(text).then(() => {
|
||||
message.success('复制成功')
|
||||
}).catch((error) => {
|
||||
message.error('复制失败')
|
||||
console.log('复制失败',error)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user