|
@@ -1,7 +1,7 @@
|
|
|
<!--
|
|
|
* @Author: your name
|
|
|
* @Date: 2024-09-11 14:30:17
|
|
|
- * @LastEditTime: 2025-06-06 16:28:29
|
|
|
+ * @LastEditTime: 2025-06-12 09:09:57
|
|
|
* @LastEditors: bogon
|
|
|
* @Description: In User Settings Edit
|
|
|
* @FilePath: /performance-test/src/views/performance/components/chartsCom/BarChart.vue
|
|
@@ -160,7 +160,7 @@ export default {
|
|
|
autosize: true, // 开启自适应
|
|
|
};
|
|
|
// **如果 Y 轴是 "温度偏差",添加两条红色虚线**
|
|
|
- if (this.chartData.yaixs === "温度偏差") {
|
|
|
+ if (this.chartData.data[0].title === "温度偏差") {
|
|
|
layout.shapes = [
|
|
|
{
|
|
|
type: "line",
|