diff --git a/src/components/FooterToolbar/FooterToolBar.vue b/src/components/FooterToolbar/FooterToolBar.vue index f4056dc7..a2ff79fe 100644 --- a/src/components/FooterToolbar/FooterToolBar.vue +++ b/src/components/FooterToolbar/FooterToolBar.vue @@ -23,8 +23,4 @@ export default { } } } - - - + \ No newline at end of file diff --git a/src/views/system/components/BackupDrawer.vue b/src/views/system/components/BackupDrawer.vue index 37b74347..2efd7849 100644 --- a/src/views/system/components/BackupDrawer.vue +++ b/src/views/system/components/BackupDrawer.vue @@ -144,8 +144,12 @@ export default { default: true } }, - created() { - this.getBackups() + watch: { + visible: function(newValue, oldValue) { + if (newValue) { + this.getBackups() + } + } }, methods: { getBackups() {