mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-25 22:44:13 +00:00
perf: view caches bug
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
@@ -11,10 +11,7 @@ export default {
|
||||
ListTable
|
||||
},
|
||||
activated() {
|
||||
setTimeout(() => {
|
||||
console.log('actived')
|
||||
this.reloadTable()
|
||||
}, 300)
|
||||
|
||||
},
|
||||
methods: {
|
||||
reloadTable() {
|
||||
|
||||
Reference in New Issue
Block a user