🚀 修订版本.

This commit is contained in:
lijiahang
2024-02-27 15:20:40 +08:00
parent b488bb326d
commit dcded9645c
10 changed files with 14 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "orion-ops-pro-ui",
"description": "Orion Ops Pro for Vue",
"version": "1.0.0",
"version": "1.0.0-beta.1",
"private": true,
"author": "Jiahang Li",
"license": "Apache 2.0",

View File

@@ -2,7 +2,8 @@ import type { ISftpTransferUploader, SftpTransferItem } from '../types/terminal.
import { TransferOperatorType, TransferStatus } from '../types/terminal.const';
import { getPath } from '@/utils/file';
export const BLOCK_SIZE = 1024 * 1024;
// 512 KB
export const BLOCK_SIZE = 512 * 1024;
// sftp 上传器实现
export default class SftpTransferUploader implements ISftpTransferUploader {