diff --git a/src/components/ShowFile/ShowFile.vue b/src/components/ShowFile/ShowFile.vue index ce59bbb..c2978c6 100644 --- a/src/components/ShowFile/ShowFile.vue +++ b/src/components/ShowFile/ShowFile.vue @@ -1493,7 +1493,7 @@ export default { } } const isCurrentPath = (this.path + '/') === fileDoc - if ('deleteFile' === url && isCurrentPath) { + if ('deleteFile' === url && (isCurrentPath || this.$route.path.startsWith('/recently'))) { this.getFileListEnter() } if ('createFile' === url) {