+
diff --git a/frontend/src/views/setting/snapshot/create/index.vue b/frontend/src/views/setting/snapshot/create/index.vue
index 6c93cee0544c..1fa113bfd88c 100644
--- a/frontend/src/views/setting/snapshot/create/index.vue
+++ b/frontend/src/views/setting/snapshot/create/index.vue
@@ -259,6 +259,9 @@ const beforeLeave = async (stepItem: any) => {
loadCheckForSubmit(panelChecks, form.panelData);
return true;
case 'backupData':
+ if (!form.appData || form.appData.length === 0) {
+ return true;
+ }
if (form.backupData && form.backupData.length !== 0) {
let backupChecks = backupRef.value.getCheckedNodes();
loadCheckForSubmit(backupChecks, form.backupData);
@@ -497,6 +500,9 @@ const setPanelDefaultCheck = async (list: any) => {
}
};
const setBackupDefaultCheck = async (list: any) => {
+ if (!form.appData || form.appData.length === 0) {
+ return;
+ }
for (const item of list) {
if (item.isCheck) {
backupRef.value.setChecked(item.id, true, true);
diff --git a/frontend/src/views/toolbox/ftp/log/index.vue b/frontend/src/views/toolbox/ftp/log/index.vue
index 32e49f5ca5f3..7d4a54bf9c2a 100644
--- a/frontend/src/views/toolbox/ftp/log/index.vue
+++ b/frontend/src/views/toolbox/ftp/log/index.vue
@@ -17,7 +17,7 @@
{{ loadOperation(row.operation) }}
-
+
{{ loadFileName(row.operation) }}