{{$t("project.endpoint.dialogTitle")}}
-
-
-
-
-
-
@@ -224,12 +225,12 @@
metricInfo.elements = [];
//console.info("aaa", this.selectedEndpoints)
for(let i = 0; i < this.selectedEndpoints.length; i++) {
- let type = '';
- if (this.selectedEndpoints[i].type == '1') {
- type = 'expert';
- } else if (this.selectedEndpoints[i].type == '2') {
- type = 'normal';
- }
+ let type = 'expert';
+ // if (this.selectedEndpoints[i].type == '1') {
+ // type = 'expert';
+ // } else if (this.selectedEndpoints[i].type == '2') {
+ // type = 'normal';
+ // }
metricInfo.elements.push({expression: this.selectedEndpoints[i].element, type: type});
}
this.$refs.addChartModal.createData(-1, metricInfo);
@@ -418,10 +419,6 @@
this.$refs.endpointChart.startLoading();
this.queryChartDate();
});
- /*setTimeout(()=> {
- this.$refs.graphLoading.startLoading();
- this.queryChartDate();
- }, 200);*/
},
dialogClose:function(){
this.graphShow=false;
diff --git a/nezha-fronted/src/components/page/dashboard/explore/explore.vue b/nezha-fronted/src/components/page/dashboard/explore/explore.vue
index d98c451c3..da2fd8426 100644
--- a/nezha-fronted/src/components/page/dashboard/explore/explore.vue
+++ b/nezha-fronted/src/components/page/dashboard/explore/explore.vue
@@ -28,6 +28,7 @@
+
+