提交 dc621989 编写于 作者: D DebugIsFalse

Merge branch 'main' of gitcode.com:git_bot/ai-fe

......@@ -33,6 +33,14 @@
</UButton>
</div>
</div>
<template #footer>
<div class="flex justify-end">
<UButton
size="md"
label="保存"
/>
</div>
</template>
</UCard>
</UModal>
</template>
......
......@@ -79,7 +79,7 @@
<script setup>
const toast = useToast()
const route = useRoute()
const { $openLibraryCreate } = useLibraryStore()
const { $openLibraryCreate, $openLibrarySelect } = useLibraryStore()
const props = defineProps({
query: String,
isPublic: {
......@@ -131,8 +131,8 @@ async function handleSetOpenState() {
handleCopyLink()
}
}
function handleSave () {
$openLibraryCreate(route.params.id)
function handleOpenSelect () {
$openLibrarySelect(route.params.id)
}
defineExpose({
isOpen,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册