diff --git a/src/apis/system/file.ts b/src/apis/system/file.ts index eb2bf55..2501519 100644 --- a/src/apis/system/file.ts +++ b/src/apis/system/file.ts @@ -18,7 +18,7 @@ export function deleteFile(ids: string | Array) { return http.del(`${BASE_URL}/${ids}`) } -/** @desc 查询文件资源统计 */ -export function statisticsFile() { - return http.get(`${BASE_URL}/statistics`) +/** @desc 查询文件资源统计统计 */ +export function getFileStatistics() { + return http.get(`${BASE_URL}/statistics`) } diff --git a/src/utils/index.ts b/src/utils/index.ts index 6262d31..bd30a1b 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -243,6 +243,8 @@ export const formatFileSize = (fileSize: number) => { const size = srcSize / 1024 ** index return `${size.toFixed(2)} ${unitArr[index]}` } + +/** @desc 复制文本 */ export const copyText = (text: any) => { const textarea = document.createElement('textarea') textarea.value = text diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 0187fed..772368f 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -130,6 +130,7 @@ const onOauth = async (source: string) => { justify-content: start; align-items: center; background-color: var(--color-bg-5); + color: #121314; &-logo { width: 100%; height: 104px; @@ -158,7 +159,6 @@ const onOauth = async (source: string) => { .login-right { width: 100%; height: 100%; - background: var(--color-bg-1); display: flex; flex-direction: column; padding: 30px 30px 0; diff --git a/src/views/system/file/main/FileAside.vue b/src/views/system/file/main/FileAside.vue index 9a541be..56c4c13 100644 --- a/src/views/system/file/main/FileAside.vue +++ b/src/views/system/file/main/FileAside.vue @@ -57,12 +57,4 @@ const onClickItem = (item: FileTypeListItem) => { padding-right: 0; } } - -:deep(.arco-progress) { - .arco-progress-line, - .arco-progress-line-bar-buffer, - .arco-progress-line-bar { - border-radius: 0; - } -} diff --git a/src/views/system/file/main/FileAsideStatistics.vue b/src/views/system/file/main/FileAsideStatistics.vue index 0d7a194..6ed3bf5 100644 --- a/src/views/system/file/main/FileAsideStatistics.vue +++ b/src/views/system/file/main/FileAsideStatistics.vue @@ -4,35 +4,56 @@ - - + + - +