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

@ -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() {