web/src/views/modules/taskReliability/SimulatCurve.vue
@@ -53,11 +53,18 @@ }, xAxis: { data: this.xDataList, name: '仿真总时长' name: '仿真总时长', type: 'category', axisLabel: { formatter: function(value) { // 将 X 轴刻度值格式化为保留两位小数的字符串 return parseFloat(value).toFixed(2); } } }, yAxis: { name: '', type:"value", name: '可靠度', }, series: [ {