update web/src/layout/header-aside/layout.vue.

带参数的路由缓存里的fullpath应该改为fullPath,否则不起作用

Signed-off-by: thu_renyi <630362055@qq.com>
pull/67/head
thu_renyi 2022-08-14 07:03:56 +00:00 committed by Gitee
parent 891da887a5
commit dc1e856770
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 2 deletions

View File

@ -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 最外层容器的背景图片样式