Explorar o código

提交表头错位修改

cl hai 1 ano
pai
achega
c3ab741470
Modificáronse 3 ficheiros con 10 adicións e 19 borrados
  1. 10 0
      src/App.vue
  2. 0 9
      src/views/realTime/rain/index.vue
  3. 0 10
      src/views/realTime/regimen/index.vue

+ 10 - 0
src/App.vue

@@ -16,3 +16,13 @@
 
   useTitle();
 </script>
+<style lang="less" scoped>
+::v-deep(.ant-table-fixed-header .ant-table-scroll .ant-table-header) {
+  opacity: 1;
+}
+
+::v-deep(.ant-table-hide-scrollbar) {
+  min-width: initial !important;
+  scrollbar-color: initial;
+}
+</style>

+ 0 - 9
src/views/realTime/rain/index.vue

@@ -362,13 +362,4 @@ onMounted(async () => {
     top: 0px;
   }
 }
-.basic-table-cl{
-  ::v-deep(.ant-table-fixed-header .ant-table-scroll .ant-table-header){
-    opacity: 1;
-  }
-  ::v-deep(.ant-table-hide-scrollbar){
-    min-width: initial !important;
-    scrollbar-color:initial;
-  }
-}
 </style>

+ 0 - 10
src/views/realTime/regimen/index.vue

@@ -618,14 +618,4 @@ onMounted(async () => {
   padding: 0px;
 }
 
-.basic-table-cl {
-  ::v-deep(.ant-table-fixed-header .ant-table-scroll .ant-table-header) {
-    opacity: 1;
-  }
-
-  ::v-deep(.ant-table-hide-scrollbar) {
-    min-width: initial !important;
-    scrollbar-color: initial;
-  }
-}
 </style>