From 3a1520aa9525f6e3c369d343a1745b80f4029bb0 Mon Sep 17 00:00:00 2001 From: zhujiyan <17812234322@163.com> Date: Mon, 2 Sep 2024 18:39:44 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=B8=8B=E8=BD=BD=E5=AE=8C=E6=88=90=E5=90=8E?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E5=BC=B9=E6=A1=862.=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=A0=8F=E8=B7=B3=E8=BD=AC=E5=8A=A0loading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/govern/device/fileService/index.vue | 2 ++ src/views/govern/device/fileService/popup.vue | 3 +++ vite.config.ts | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/govern/device/fileService/index.vue b/src/views/govern/device/fileService/index.vue index da13c1c..6aa2817 100644 --- a/src/views/govern/device/fileService/index.vue +++ b/src/views/govern/device/fileService/index.vue @@ -189,6 +189,7 @@ const handleIntoByPath = async (val: any) => { type: 'dir' } activePath.value = val.path + loading.value=true getFileServiceFileOrDir(obj).then(res => { dirList.value = res.data activePathList.value.map((item: any, index: any) => { @@ -196,6 +197,7 @@ const handleIntoByPath = async (val: any) => { activePathList.value.splice(index, 1) } }) + loading.value=false }) } diff --git a/src/views/govern/device/fileService/popup.vue b/src/views/govern/device/fileService/popup.vue index 1d2c77d..53e9691 100644 --- a/src/views/govern/device/fileService/popup.vue +++ b/src/views/govern/device/fileService/popup.vue @@ -30,6 +30,7 @@