Browse Source

:deep修改

zhengnaiwen_citu 5 months ago
parent
commit
f1ae7f6282
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/components/CtTable/index.vue

+ 5 - 5
src/components/CtTable/index.vue

@@ -164,16 +164,16 @@ const handleSelect = (e) => {
 </script>
 
 <style scoped lang="scss">
-:deep {
-  .v-table.v-table--fixed-header > .v-table__wrapper > table > thead > tr > th {
+
+  :deep(.v-table.v-table--fixed-header > .v-table__wrapper > table > thead > tr > th) {
     text-wrap: nowrap !important;
     background-color: #f7f8fa !important;
   }
-  .v-selection-control__input {
+  :deep(.v-selection-control__input) {
     color: var(--v-primary-base) !important;
   }
-  .v-table.v-table--hover > .v-table__wrapper > table > tbody > tr > td {
+  :deep(.v-table.v-table--hover > .v-table__wrapper > table > tbody > tr > td) {
     white-space: nowrap !important;
   }
-}
+
 </style>