性能测试跳转刷新

This commit is contained in:
chenjianxing 2020-06-10 10:01:04 +08:00
parent 354e3f9907
commit 7e6fecc09f
4 changed files with 20 additions and 3 deletions

View File

@ -53,6 +53,9 @@
created() {
this.search();
},
activated() {
this.search();
}
}
</script>

View File

@ -42,10 +42,18 @@
}
},
mounted() {
this.result = this.$get('/performance/dashboard/tests', response => {
this.values = response.data;
});
this.getValues();
},
activated() {
this.getValues();
},
methods: {
getValues() {
this.result = this.$get('/performance/dashboard/tests', response => {
this.values = response.data;
});
}
}
}
</script>

View File

@ -54,6 +54,9 @@
created() {
this.search();
},
activated() {
this.search();
}
}
</script>

View File

@ -122,6 +122,9 @@
}
this.list();
},
activated() {
this.list();
},
watch: {
'$route'(to) {
if (this.$route.path.split('/')[2] === 'project' &&