perf: 代码优化 layout/AppMain
This commit is contained in:
parent
4dce9658ff
commit
62e1a7a63d
@ -7,6 +7,7 @@ const route = useRoute()
|
||||
const tagsViewStore = useTagsViewStore()
|
||||
|
||||
const key = computed(() => {
|
||||
// 返回 route.path 和 route.fullPath 有着不同的效果,大多数时候 path 更通用
|
||||
return route.path
|
||||
})
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user