mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-02-23 16:09:37 +08:00
Update FileManager.vue
Wrong calculation method
This commit is contained in:
parent
e0fad03549
commit
f792dce8e8
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user