perf: view caches bug

This commit is contained in:
ibuler
2024-07-01 16:17:08 +08:00
committed by 老广
parent 9dad31c75a
commit 27765ca866
2 changed files with 2 additions and 5 deletions

View File

@@ -24,7 +24,7 @@ export default {
]),
key() {
if (this.$route.name.toLowerCase().includes('list')) {
return this.$route.path
return _.trimEnd(this.$route.path, '/')
} else {
return new Date().getTime()
}

View File

@@ -11,10 +11,7 @@ export default {
ListTable
},
activated() {
setTimeout(() => {
console.log('actived')
this.reloadTable()
}, 300)
},
methods: {
reloadTable() {