chore: docs 迁移至 apps

This commit is contained in:
wangxuefeng
2025-03-12 14:32:58 +08:00
parent c86bf9e62e
commit bcdb4e8c95
91 changed files with 111 additions and 193 deletions

View File

@@ -20,6 +20,7 @@ declare namespace global {
declare module 'vue' {
interface ComponentCustomProperties {
$uploader: any;
// cspell:disable-next-line
$reqeust: any;
$apis: any;
$libs: any;

View File

@@ -79,9 +79,6 @@ export const publishAllFile = async (
* 发布单个文件
* @param {string} fileId - 需要发布的文件ID
* @returns {Promise<any>} 包含发布操作结果的Promise对象
* @example
* // 发布文件ID为45tnbgeme的文件
* await publishFile('45tnbgeme')
*/
export const publishFile = async (fileId: string): Promise<PublishResponse> => {
const response = await instance.post('/api/v1/files/publish-file', {