[web] Fix folder page not reloading data
This commit is contained in:
parent
be931f4173
commit
d49074eeae
|
@ -83,6 +83,13 @@ export default {
|
|||
})
|
||||
},
|
||||
|
||||
beforeRouteUpdate(to, from, next) {
|
||||
dataObject.load(to).then((response) => {
|
||||
dataObject.set(this, response)
|
||||
next()
|
||||
})
|
||||
},
|
||||
|
||||
data() {
|
||||
return {
|
||||
dirs: [],
|
||||
|
|
Loading…
Reference in New Issue