fix 网元手动发送ftp备份路径多一层ne_coifig目录

This commit is contained in:
TsMask
2025-06-23 11:56:56 +08:00
parent fa00b6bfa8
commit 8bd1ea4faa

View File

@@ -400,7 +400,7 @@ function fnSyncFileToFTP(row: Record<string, any>) {
pushBackupFTP({ pushBackupFTP({
path: row.path.substring(0, row.path.lastIndexOf('/')), path: row.path.substring(0, row.path.lastIndexOf('/')),
fileName: row.name, fileName: row.name,
tag: 'ne_config', tag: '',
}).then(res => { }).then(res => {
if (res.code === RESULT_CODE_SUCCESS) { if (res.code === RESULT_CODE_SUCCESS) {
message.success(t('common.operateOk'), 3); message.success(t('common.operateOk'), 3);