diff --git a/src/views/govern/device/fileService/index.vue b/src/views/govern/device/fileService/index.vue index b7f56a4..3c8bc81 100644 --- a/src/views/govern/device/fileService/index.vue +++ b/src/views/govern/device/fileService/index.vue @@ -65,7 +65,7 @@ - + 暂无数据

{{ item && @@ -94,7 +94,7 @@

- + (true) //储存所有点击过的目录 const activePathList: any = ref([]) const nodeClick = (e: any) => { - loading.value = true if (e.level == 2) { + loading.value = true nDid.value = e.ndid + dirList.value = [] + activePath.value = '' + activePathList.value = [] getDeviceRootPath(nDid.value) .then((res: any) => { loading.value = false @@ -206,7 +209,7 @@ const handleSearch = () => { } //重置搜索 const handleRefresh = () => { - loading.value=true + loading.value = true filterFileName.value = '' dirList.value = currentDirList.value reloadCurrentMenu('')