Update FileManager.vue

Wrong calculation method
This commit is contained in:
landmineHQ 2024-04-05 17:48:13 +08:00 committed by GitHub
parent e0fad03549
commit f792dce8e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -175,7 +175,7 @@ const handleDrop = (e: DragEvent) => {
Modal.confirm({
title: t("TXT_CODE_52bc24ec") + ` ${files[0].name} ?`,
icon: h(ExclamationCircleOutlined),
content: `${t("TXT_CODE_94bb113a")} ${(files[0].size / 1024).toFixed(2)}MB, ${t(
content: `${t("TXT_CODE_94bb113a")} ${(files[0].size / 1024 / 1024).toFixed(2)}MB, ${t(
"TXT_CODE_fffaeb16"
)}`,
onOk() {