Selaa lähdekoodia

分析有功功率内容展示

liujiejie 11 kuukautta sitten
vanhempi
commit
c0babdc59d

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

@@ -197,8 +197,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", //外网
           }),
         }),
         new VectorLayer({

+ 4 - 4
src/views/performance/components/EditAnalysis.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2024-05-29 09:14:23
- * @LastEditTime: 2024-08-06 13:25:45
+ * @LastEditTime: 2024-08-06 13:34:14
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/performance/components/EditAnalysis.vue
@@ -121,7 +121,7 @@
         <el-col
           :span="12"
           v-if="
-            form.configAnalysis !== 'power_curve' ||
+            form.configAnalysis !== 'power_curve' &&
             form.configAnalysis !== 'yaw_error'
           "
           ><div class="left">
@@ -189,8 +189,8 @@
           :span="12"
           v-loading="htmlLoading"
           v-if="
-            form.configAnalysis !== 'power_curve' ||
-            form.configAnalysis === 'yaw_error'
+            form.configAnalysis !== 'power_curve' &&
+            form.configAnalysis !== 'yaw_error'
           "
         >
           <div class="right">