From 1a820e00ffdc91ed987ad7c7ad264f0680806bdb Mon Sep 17 00:00:00 2001
From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com>
Date: Wed, 8 Nov 2023 10:33:29 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9B=9E=E6=94=B6=E7=AB=99=E9=80=89?=
=?UTF-8?q?=E6=8B=A9=E4=B8=BA=E7=A9=BA=E7=9A=84=E6=97=B6=E5=80=99=E7=A6=81?=
=?UTF-8?q?=E7=94=A8=E5=88=A0=E9=99=A4=E6=8C=89=E9=92=AE=20(#2841)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
backend/utils/files/archiver.go | 2 +-
frontend/src/views/host/file-management/recycle-bin/index.vue | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/backend/utils/files/archiver.go b/backend/utils/files/archiver.go
index 55df9cafb..9affc8836 100644
--- a/backend/utils/files/archiver.go
+++ b/backend/utils/files/archiver.go
@@ -32,5 +32,5 @@ func checkCmdAvailability(cmdStr string) error {
if cmd.Which(cmdStr) {
return nil
}
- return buserr.WithName(cmdStr, constant.ErrCmdNotFound)
+ return buserr.WithName(constant.ErrCmdNotFound, cmdStr)
}
diff --git a/frontend/src/views/host/file-management/recycle-bin/index.vue b/frontend/src/views/host/file-management/recycle-bin/index.vue
index bc55cdb53..eda9b6c12 100644
--- a/frontend/src/views/host/file-management/recycle-bin/index.vue
+++ b/frontend/src/views/host/file-management/recycle-bin/index.vue
@@ -6,7 +6,7 @@
{{ $t('file.clearRecycleBin') }}
-
+
{{ $t('commons.button.delete') }}