From f2fcee28dea04d8d84dfe152d4112319452e4a7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BC=BA?= <1206709430@qq.com> Date: Sat, 13 Aug 2022 23:38:20 +0800 Subject: [PATCH] fix:I5LPR7 --- web/src/layout/header-aside/layout.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/layout/header-aside/layout.vue b/web/src/layout/header-aside/layout.vue index 5370c16..68e114f 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.path}`] || '' - return `${stamp ? `__stamp-${stamp}-` : ''}${this.$route.path}` + const stamp = this.$route.meta[`__stamp-${this.$route.fullpath}`] || '' + return `${stamp ? `__stamp-${stamp}-` : ''}${this.$route.fullpath}` }, /** * @description 最外层容器的背景图片样式