mirror of https://github.com/halo-dev/halo
feat: performance optimization.
parent
76e002e5dd
commit
5a2ff4e4f9
|
@ -23,8 +23,4 @@ export default {
|
|||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
|
||||
</style>
|
||||
</script>
|
|
@ -144,8 +144,12 @@ export default {
|
|||
default: true
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getBackups()
|
||||
watch: {
|
||||
visible: function(newValue, oldValue) {
|
||||
if (newValue) {
|
||||
this.getBackups()
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getBackups() {
|
||||
|
|
Loading…
Reference in New Issue