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

Update Header.vue

上级 3c3fa0c5
......@@ -79,6 +79,7 @@
<script setup>
const toast = useToast()
const route = useRoute()
const { $openLibrarySelect } = useLibraryStore()
const props = defineProps({
query: String,
isPublic: {
......@@ -130,6 +131,9 @@ async function handleSetOpenState() {
handleCopyLink()
}
}
function handleOpenSelect () {
$openLibrarySelect()
}
defineExpose({
isOpen,
handleUpdateOpenState,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册