🐛 Fix: fix sftp delete error when the user don't have ssh permission

ISSUES CLOSED: #100
This commit is contained in:
Kuingsmile
2023-09-30 20:55:07 +08:00
parent ef1812a8eb
commit 819dfbb2f1
6 changed files with 41 additions and 18 deletions

View File

@@ -944,7 +944,7 @@ export const supportedPicBedList: IStringKeyMap = {
default: '0755'
},
baseDir: {
required: true,
required: false,
description: $T('MANAGE_CONSTANT_SFTP_BASE_DIR_DESC'),
placeholder: $T('MANAGE_CONSTANT_SFTP_BASE_DIR_PLACEHOLDER'),
type: 'string',