feat: performance optimization.

pull/3445/head
ruibaby 2019-11-24 20:00:02 +08:00
parent 76e002e5dd
commit 5a2ff4e4f9
2 changed files with 7 additions and 7 deletions

View File

@ -23,8 +23,4 @@ export default {
} }
} }
} }
</script> </script>
<style lang="less" scoped>
</style>

View File

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