liujiejie 4 ay önce
ebeveyn
işleme
3732fbfb49

+ 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>