From 9fc5cc92a80caab64d7f018b29a2a0e25bbad33a Mon Sep 17 00:00:00 2001 From: zhujiyan <17812234322@163.com> Date: Mon, 2 Sep 2024 20:59:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E6=A0=B7=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/govern/device/fileService/index.vue | 25 ++++--------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/src/views/govern/device/fileService/index.vue b/src/views/govern/device/fileService/index.vue index f060668..46049cd 100644 --- a/src/views/govern/device/fileService/index.vue +++ b/src/views/govern/device/fileService/index.vue @@ -43,21 +43,6 @@
-
@@ -89,7 +74,7 @@ v-if="item?.type == 'file'" src="@/assets/img/wenjian.svg" /> - +

{{ item && @@ -102,7 +87,7 @@

- +
@@ -147,6 +132,8 @@ const nodeClick = (e: any) => { activePathList.value.push({ path: activePath.value }) } }) + }).catch((e)=>{ + loading.value = false }) } } @@ -245,14 +232,12 @@ const handleDownLoad = async (row: any) => { } //上传文件 const handleUpload = (e: any, fileList: any, row: any) => { - console.log(e, fileList, row) const obj = { id: nDid.value, file: e.raw, filePath: row|| row.prjDataPath } uploadDeviceFile(obj).then(res => { - console.log(res, '上传文件毁掉') if (res.code == 'A0000') { ElMessage.success(res.message) } @@ -323,7 +308,7 @@ watch( justify-content: space-between; overflow-y: auto; margin-top: 10px; - height: 100%; + max-height: 100%; padding-bottom: 200px; z-index: 100; position: relative;