feat: performance optimization.

pull/59/head
ruibaby 2019-11-24 20:00:02 +08:00
parent bc81e1604a
commit 7cdb85964a
2 changed files with 7 additions and 7 deletions

View File

@ -24,7 +24,3 @@ export default {
}
}
</script>
<style lang="less" scoped>
</style>

View File

@ -144,8 +144,12 @@ export default {
default: true
}
},
created() {
watch: {
visible: function(newValue, oldValue) {
if (newValue) {
this.getBackups()
}
}
},
methods: {
getBackups() {