1.下载完成后关闭弹框2.点击菜单栏跳转加loading

This commit is contained in:
zhujiyan
2024-09-02 18:39:44 +08:00
parent 40c909ea61
commit 3a1520aa95
3 changed files with 7 additions and 1 deletions

View File

@@ -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
})
}