mirror of
https://github.com/purocean/yn.git
synced 2026-09-24 15:46:02 +08:00
upd: 调整代码
This commit is contained in:
@@ -55,7 +55,7 @@ export default {
|
||||
if (file) {
|
||||
if (!ctx.doc.isSameFile(stack[idx], file)) {
|
||||
stack.splice(idx + 1, stack.length)
|
||||
stack.push({ type: file.type, repo: file.repo, name: file?.name, path: file?.path })
|
||||
stack.push({ type: file.type, repo: file.repo, name: file.name, path: file.path })
|
||||
idx = stack.length - 1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user