We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f203a30 commit 0e883ebCopy full SHA for 0e883eb
src/helper.js
@@ -161,7 +161,7 @@ export default class VueRouterKeepAliveHelper{
161
this.replaceStay.includes(this.replacePrePath)
162
);
163
if (shouldDestroy) {
164
- this.pre.$keepAliveDestroy();
+ this.pre?.$keepAliveDestroy();
165
}
166
this.setState(this.stackPointer);
167
this.historyStack.push(vm, this.stackPointer);
0 commit comments