perf: 优化"最近"界面删除文件自动刷新的问题
This commit is contained in:
parent
7b54f983a2
commit
0168b0151e
@ -1493,7 +1493,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
const isCurrentPath = (this.path + '/') === fileDoc
|
const isCurrentPath = (this.path + '/') === fileDoc
|
||||||
if ('deleteFile' === url && isCurrentPath) {
|
if ('deleteFile' === url && (isCurrentPath || this.$route.path.startsWith('/recently'))) {
|
||||||
this.getFileListEnter()
|
this.getFileListEnter()
|
||||||
}
|
}
|
||||||
if ('createFile' === url) {
|
if ('createFile' === url) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user