提交 dc621989 编写于 作者: D DebugIsFalse

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

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