feat:更新上传图片和视频组件

This commit is contained in:
2026-02-04 22:24:39 +08:00
parent e5e1e5e2b3
commit 45342fb55c
17 changed files with 328 additions and 107 deletions

View File

@@ -28,13 +28,9 @@ export const fileServiceUrl = '/home-api/file'
*/
export const serviceFileRootPath = '/home-api/'
export const AListPath = '/alist-api/'
export const AListUrl = '/alist-api/'
export const compressOptions = {
quality: 0.7,
maxHeight: 800,
maxWidth: 600
}
export const AListPath = import.meta.env.VITE_API_ALIST_PATH
/**
* 获取assets静态资源