1.下载完成后关闭弹框2.点击菜单栏跳转加loading
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user