diff --git a/src/api/doc/space.ts b/src/api/doc/space.ts index fbc3ff2..219160e 100644 --- a/src/api/doc/space.ts +++ b/src/api/doc/space.ts @@ -74,6 +74,22 @@ export function doDelSpace(uid:string,data?: any){ }); } +/** + * 重命名 + */ +export function spaceMatterRename(uid:string,data?: any){ + return request({ + url: '/hxpan/api/space/rename', + method: 'post', + headers: { + 'Identifier':uid, + 'Content-Type': 'application/x-www-form-urlencoded' + }, + data: data + }); +} + + /** * 删除文件或目录 */ diff --git a/src/views/doc/agent.vue b/src/views/doc/agent.vue index ccc83aa..ad59e20 100644 --- a/src/views/doc/agent.vue +++ b/src/views/doc/agent.vue @@ -244,10 +244,12 @@ onMounted(() => {