Sfoglia il codice sorgente

全局遮盖比消息提示z-index低

Michael Wang 4 anni fa
parent
commit
305f7af714
1 ha cambiato i file con 1 aggiunte e 4 eliminazioni
  1. 1 4
      src/App.vue

+ 1 - 4
src/App.vue

@@ -1,6 +1,5 @@
 <template>
   <router-view> </router-view>
-  <!-- z-index: 10000; -->
   <a-spin
     v-if="spinning"
     size="large"
@@ -16,9 +15,7 @@
       place-content: center;
       align-items: center;
     "
-    :style="
-      spinning && { zIndex: 10000, backgroundColor: 'grey', opacity: 0.7 }
-    "
+    :style="spinning && { zIndex: 6000, backgroundColor: 'grey', opacity: 0.7 }"
   />
 </template>