From 2983418c06b0df8102ef9e5144aef63c11eac45f Mon Sep 17 00:00:00 2001 From: zhujiyan <17812234322@163.com> Date: Thu, 12 Sep 2024 09:56:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=91=E8=8A=82=E7=82=B9?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E8=8F=9C=E5=8D=95=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/govern/device/fileService/index.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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('')