fix 网元手动发送ftp备份路径多一层ne_coifig目录
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user