fix(recents): fix vue warnings after target animation (#6203)

This commit is contained in:
Jesse Mazzella 2023-01-30 17:45:08 -08:00 committed by GitHub
parent 9c784398b3
commit cc1bf47f5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -315,7 +315,7 @@ export default {
} }
}, },
targetedPathAnimationEnd() { targetedPathAnimationEnd() {
this.targetedPath = undefined; this.targetedPath = null;
}, },
treeItemSelection(item) { treeItemSelection(item) {
this.selectedItem = item; this.selectedItem = item;

View File

@ -62,7 +62,7 @@ export default {
}, },
targetedPath: { targetedPath: {
type: String, type: String,
required: true default: null
}, },
selectedItem: { selectedItem: {
type: Object, type: Object,