useClipboard copy 功能线上无效说明:需要线上地址使用 https 才可使用
This commit is contained in:
parent
f3c04eff61
commit
adc29d3de3
@ -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('复制成功')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user