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

Update useCollectionRequest.js

上级 2e7fd435
export default () => { export default () => {
const { $getCollection } = useLibraryStore()
// 创建及修改收藏夹 // 创建及修改收藏夹
const setOrUpdateCollection = async (body) => { const setOrUpdateCollection = async (body) => {
/* /*
...@@ -45,6 +46,7 @@ export default () => { ...@@ -45,6 +46,7 @@ export default () => {
method: 'post', method: 'post',
body: { collection_id, c_id } body: { collection_id, c_id }
}) })
$getCollection()
return { data, error } return { data, error }
} }
// 查询会话是否被收藏 // 查询会话是否被收藏
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册