diff --git a/web/src/layout/header-aside/layout.vue b/web/src/layout/header-aside/layout.vue index 68e114f..c224929 100644 --- a/web/src/layout/header-aside/layout.vue +++ b/web/src/layout/header-aside/layout.vue @@ -160,8 +160,8 @@ export default { routerViewKey () { // 默认情况下 key 类似 __transition-n-/foo // 这里的字符串操作是为了最终 key 的格式和原来相同 类似 __transition-n-__stamp-time-/foo - const stamp = this.$route.meta[`__stamp-${this.$route.fullpath}`] || '' - return `${stamp ? `__stamp-${stamp}-` : ''}${this.$route.fullpath}` + const stamp = this.$route.meta[`__stamp-${this.$route.fullPath}`] || '' + return `${stamp ? `__stamp-${stamp}-` : ''}${this.$route.fullPath}` }, /** * @description 最外层容器的背景图片样式