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

Update Thread.vue

上级 1440249c
......@@ -10,7 +10,7 @@
</template>
<script setup>
import { IConfirm } from '#components';
const { $openLibrarySelect } = useLibraryStore()
const { $openLibrarySelect, $getCollection } = useLibraryStore()
const { deleteCollectionRecord, deleteThread } = useCollectionRequest()
const Layout = inject('Layout')
const modal = useModal()
......@@ -69,6 +69,7 @@ const actionItems = computed(() => {
async onSuccess() {
modal.close()
await deleteThread([props.c_id])
$getCollection()
emit('delete')
},
onCancel () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册