浏览代码

修改有功功率展示问题

liujiejie 5 月之前
父节点
当前提交
4be0b39d0f
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 2 2
      src/components/map/index.vue
  2. 1 0
      src/views/performance/components/PlotlyCharts.vue

+ 2 - 2
src/components/map/index.vue

@@ -196,8 +196,8 @@ export default {
         new TileLayer({
           source: new XYZ({
             // url: "http://127.0.0.1:8010/tiles/{z}/{x}/{y}.png", //本地
-            url: "http://192.168.50.235/tiles/{z}/{x}/{y}.png", //内网
-            // url: "http://106.120.102.238:18000/tiles/{z}/{x}/{y}.png", //外网
+            // url: "http://192.168.50.235/tiles/{z}/{x}/{y}.png", //内网
+            url: "http://106.120.102.238:18000/tiles/{z}/{x}/{y}.png", //外网
             // url: "http://10.96.137.5:9080/tiles/{z}/{x}/{y}.png", //大~#@唐
           }),
         }),

+ 1 - 0
src/views/performance/components/PlotlyCharts.vue

@@ -230,6 +230,7 @@ export default {
           name: this.powerCurveData.contractPowerCurve[0].enginName,
           line: {
             color: "red",
+            width: 1, // 设置线条的宽度为3
           },
         });
         Plotly.newPlot(`chart-${this.inds}`, data, layout);