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;