提交 100dbab2 编写于 作者: View Design's avatar View Design

分享

上级 58c6875e
...@@ -111,7 +111,7 @@ function handleCopyLink (url) { ...@@ -111,7 +111,7 @@ function handleCopyLink (url) {
title: '链接已复制到剪贴板' title: '链接已复制到剪贴板'
}) })
} }
function handleSetOpenState() { async function handleSetOpenState() {
if (isShareOpen.value) return if (isShareOpen.value) return
if (!isOpen.value) { if (!isOpen.value) {
setTimeout(async () => { setTimeout(async () => {
...@@ -119,6 +119,7 @@ function handleSetOpenState() { ...@@ -119,6 +119,7 @@ function handleSetOpenState() {
handleCopyLink() handleCopyLink()
}, 200) }, 200)
} else { } else {
await handleUpdateOpenState(true)
handleCopyLink() handleCopyLink()
} }
} }
......
<template> <template>
to be done to be done
</template> </template>
<script setup>
</script>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册