mirror of https://github.com/halo-dev/halo-admin
Fixed bug.
parent
f2490e5384
commit
49dcd54108
|
@ -338,6 +338,17 @@ export default {
|
|||
created() {
|
||||
this.loadThemes()
|
||||
},
|
||||
destroyed: function() {
|
||||
if (this.visible) {
|
||||
this.visible = false
|
||||
}
|
||||
},
|
||||
beforeRouteLeave(to, from, next) {
|
||||
if (this.visible) {
|
||||
this.visible = false
|
||||
}
|
||||
next()
|
||||
},
|
||||
methods: {
|
||||
loadThemes() {
|
||||
this.themeLoading = true
|
||||
|
|
Loading…
Reference in New Issue