Skip to content

Commit a1543fe

Browse files
author
allen
committed
fix: keepalive
1 parent d3d024d commit a1543fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/layouts/default.vue

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const cacheList = computed(() => {
1111
const arr = tabs.value
1212
.map((item) => item.name)
1313
.filter((item) => needCacheRouteNames.includes(item))
14+
.map((item) => item.replace(/^\//, ''))
1415
return arr
1516
})
1617
</script>

0 commit comments

Comments
 (0)