useClipboard copy 功能线上无效说明:需要线上地址使用 https 才可使用

This commit is contained in:
ktianc 2023-08-17 22:45:55 +08:00
parent f3c04eff61
commit adc29d3de3

View File

@ -77,6 +77,7 @@ const toDetail = (row: any) => {
// //
const toCopy = async (value: string) => { const toCopy = async (value: string) => {
// 线线使 https 使
const { copy } = useClipboard() const { copy } = useClipboard()
await copy(value) await copy(value)
return ElMessage.success('复制成功') return ElMessage.success('复制成功')