From ff58314934ab1f03dcd85a1c514b5fbfcea1be28 Mon Sep 17 00:00:00 2001 From: zhengkunwang223 Date: Wed, 15 Feb 2023 15:09:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=9A=90=E8=97=8F=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E7=9A=84=E7=94=A8=E6=88=B7=E5=92=8C=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../host/file-management/detail/index.vue | 4 +-- .../src/views/host/file-management/index.vue | 26 +++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/frontend/src/views/host/file-management/detail/index.vue b/frontend/src/views/host/file-management/detail/index.vue index 292398bd9..9fe2f8e12 100644 --- a/frontend/src/views/host/file-management/detail/index.vue +++ b/frontend/src/views/host/file-management/detail/index.vue @@ -13,8 +13,8 @@ {{ computeSize(data.size) }} {{ data.mode }} - {{ data.user }} - {{ data.group }} + {{ dateFormatSimple(data.modTime) }} diff --git a/frontend/src/views/host/file-management/index.vue b/frontend/src/views/host/file-management/index.vue index 3b6b22802..cbc018d5c 100644 --- a/frontend/src/views/host/file-management/index.vue +++ b/frontend/src/views/host/file-management/index.vue @@ -86,7 +86,7 @@ @@ -95,8 +95,8 @@ {{ row.mode }} - - + @@ -165,7 +165,7 @@ import Move from './move/index.vue'; import Download from './download/index.vue'; import { Mimetypes } from '@/global/mimetype'; import Process from './process/index.vue'; -import Detail from './detail/index.vue'; +// import Detail from './detail/index.vue'; import { useRouter } from 'vue-router'; import { Back, Refresh } from '@element-plus/icons-vue'; import { MsgWarning } from '@/utils/message'; @@ -205,7 +205,7 @@ const processPage = reactive({ open: false }); const createRef = ref(); const roleRef = ref(); -const detailRef = ref(); +// const detailRef = ref(); const compressRef = ref(); const deCompressRef = ref(); const codeEditorRef = ref(); @@ -439,9 +439,9 @@ const openDownload = () => { downloadRef.value.acceptParams(fileDownload); }; -const openDetail = (row: File.File) => { - detailRef.value.acceptParams({ path: row.path }); -}; +// const openDetail = (row: File.File) => { +// detailRef.value.acceptParams({ path: row.path }); +// }; const buttons = [ { @@ -473,10 +473,10 @@ const buttons = [ label: i18n.global.t('commons.button.delete'), click: delFile, }, - { - label: i18n.global.t('file.info'), - click: openDetail, - }, + // { + // label: i18n.global.t('file.info'), + // click: openDetail, + // }, ]; onMounted(() => {