liujiejie 4 달 전
부모
커밋
3732fbfb49
2개의 변경된 파일22개의 추가작업 그리고 3개의 파일을 삭제
  1. 15 1
      src/views/performance/components/chartsCom/3DDrawingChart.vue
  2. 7 2
      src/views/performance/components/chartsCom/Time3DChart.vue

+ 15 - 1
src/views/performance/components/chartsCom/3DDrawingChart.vue

@@ -1,6 +1,20 @@
 <template>
+  <!-- <div style="height: 600px">
+    <div
+      :id="`plotly-3d-chart-` + index"
+      style="width: 100%; height: 600px"
+    ></div>
+    <div v-loading="loading" :id="`plotly-3d-chart-` + index" ref="plotlyChart" style="height: 600px">
+      <el-empty v-if="isError" description="请求失败"></el-empty>
+    </div>
+  </div> -->
   <div>
-    <div v-loading="loading" ref="plotlyChart" style="height: 600px">
+    <div
+      v-loading="loading"
+      :id="`plotly-3d-chart-` + index"
+      ref="plotlyChart"
+      style="height: 600px"
+    >
       <el-empty v-if="isError" description="请求失败"></el-empty>
     </div>
   </div>

+ 7 - 2
src/views/performance/components/chartsCom/Time3DChart.vue

@@ -1,14 +1,19 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-22 18:50:27
- * @LastEditTime: 2025-01-23 09:12:18
+ * @LastEditTime: 2025-01-23 09:32:49
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/performance/components/chartsCom/Time3DChart.vue
 -->
 <template>
   <div>
-    <div v-loading="loading" ref="plotlyChart" style="height: 600px">
+    <div
+      v-loading="loading"
+      :id="`plotly-3d-chart-` + index"
+      ref="plotlyChart"
+      style="height: 600px"
+    >
       <el-empty v-if="isError" description="请求失败"></el-empty>
     </div>
   </div>