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

Update Header.vue

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