Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions frontend/src/components/complex-table/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ const rightClick = ref({
currentRow: null,
});
const handleRightClick = (row, column, event) => {
tableRef.value.refElTable.clearSelection();
tableRef.value.refElTable.toggleRowSelection(row);
if (!props.rightButtons) {
return;
}
Expand All @@ -126,6 +128,7 @@ const handleRightClick = (row, column, event) => {
};
const closeRightClick = () => {
rightClick.value.visible = false;
tableRef.value.refElTable.clearSelection();
document.removeEventListener('click', closeRightClick);
};
const disabled = computed(() => {
Expand All @@ -134,6 +137,7 @@ const disabled = computed(() => {
};
});
function rightButtonClick(btn: any) {
closeRightClick();
btn.click(rightClick.value.currentRow);
}

Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1424,6 +1424,7 @@ const message = {
downloadStart: 'Download started',
moveSuccess: 'Successfully moved',
copySuccess: 'Successfully copied',
pasteMsg: 'Please click the [Paste] button at the top right of the target directory',
move: 'Move',
calculate: 'Calculate',
canNotDeCompress: 'Cannot decompress this file',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1370,6 +1370,7 @@ const message = {
downloadStart: 'ダウンロードが始まりました',
moveSuccess: '正常に移動しました',
copySuccess: '正常にコピーされました',
pasteMsg: '対象ディレクトリの右上にある「貼り付け」ボタンをクリックしてください',
move: '動く',
calculate: '計算します',
canNotDeCompress: 'このファイルを解凍できません',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/ko.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1356,6 +1356,7 @@ const message = {
downloadStart: '다운로드 시작됨',
moveSuccess: '이동 성공',
copySuccess: '복사 성공',
pasteMsg: '대상 디렉토리의 오른쪽 상단에 있는 [붙여넣기] 버튼을 클릭하세요',
move: '이동',
calculate: '계산',
canNotDeCompress: '이 파일은 압축 해제할 수 없습니다',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/ms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1411,6 +1411,7 @@ const message = {
downloadStart: 'Muat turun bermula',
moveSuccess: 'Berjaya dipindahkan',
copySuccess: 'Berjaya disalin',
pasteMsg: 'Sila klik butang "Tampal" di bahagian kanan atas direktori sasaran',
move: 'Pindah',
calculate: 'Kira',
canNotDeCompress: 'Tidak dapat nyahmampatkan fail ini',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/pt-br.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1397,6 +1397,7 @@ const message = {
downloadStart: 'Download iniciado',
moveSuccess: 'Movido com sucesso',
copySuccess: 'Copiado com sucesso',
pasteMsg: 'Clique no botão "Colar" no canto superior direito do diretório de destino',
move: 'Mover',
calculate: 'Calcular',
canNotDeCompress: 'Não é possível descompactar este arquivo',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1401,6 +1401,7 @@ const message = {
downloadStart: 'Загрузка начата',
moveSuccess: 'Успешно перемещено',
copySuccess: 'Успешно скопировано',
pasteMsg: 'Нажмите кнопку «Вставить» в правом верхнем углу целевой директории',
move: 'Переместить',
calculate: 'Вычислить',
canNotDeCompress: 'Невозможно распаковать этот файл',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/tr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1441,6 +1441,7 @@ const message = {
downloadStart: 'İndirme başladı',
moveSuccess: 'Başarıyla taşındı',
copySuccess: 'Başarıyla kopyalandı',
pasteMsg: 'Hedef dizinin sağ üst köşesindeki "Yapıştır" düğmesine tıklayın',
move: 'Taşı',
calculate: 'Hesapla',
canNotDeCompress: 'Bu dosyanın sıkıştırması açılamaz',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/zh-Hant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1358,6 +1358,7 @@ const message = {
downloadStart: '下載開始!',
moveSuccess: '移動成功',
copySuccess: '復製成功',
pasteMsg: '請在目標目錄點擊右上角【粘貼】按鈕',
move: '移動',
calculate: '計算',
canNotDeCompress: '無法解壓此文件',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1353,6 +1353,7 @@ const message = {
downloadStart: '下载开始!',
moveSuccess: '移动成功',
copySuccess: '复制成功',
pasteMsg: '请在目标目录点击右上角【粘贴】按钮',
move: '移动',
calculate: '计算',
canNotDeCompress: '无法解压此文件',
Expand Down
1,304 changes: 758 additions & 546 deletions frontend/src/views/host/file-management/index.vue

Large diffs are not rendered by default.

Loading