Browse Source

优化loading样式

baiyanting 1 year ago
parent
commit
73da50d1fc
1 changed files with 7 additions and 7 deletions
  1. 7 7
      src/views/stateMonitor/powerPredictMatrix/index.vue

+ 7 - 7
src/views/stateMonitor/powerPredictMatrix/index.vue

@@ -1,13 +1,13 @@
 <template>
-  <div class="page-wrapper">
+  <div
+    class="page-wrapper"
+    v-loading="loading"
+    element-loading-text="加载中..."
+    element-loading-background="rgba(4, 12, 11, 0.8)"
+  >
     <!-- 头部按钮选项 -->
     <HeaderNav @firstRender="firstRender" :isAll="true" />
-    <div
-      class="wrapper"
-      v-loading="loading"
-      element-loading-text="加载中..."
-      element-loading-background="rgba(4, 12, 11, 0.8)"
-    >
+    <div class="wrapper">
       <div class="chart-wrapper">
         <div
           class="chart-item"