Bläddra i källkod

style: fix the background color of table striped is lose (#618)

Co-authored-by: ljh <ljh>
M69W 3 år sedan
förälder
incheckning
0e440f0793
1 ändrade filer med 3 tillägg och 7 borttagningar
  1. 3 7
      src/components/Table/src/BasicTable.vue

+ 3 - 7
src/components/Table/src/BasicTable.vue

@@ -176,12 +176,8 @@
         getDataSourceRef
       );
 
-      const {
-        getFormProps,
-        replaceFormSlotKey,
-        getFormSlotKeys,
-        handleSearchInfoChange,
-      } = useTableForm(getProps, slots, fetch, getLoading);
+      const { getFormProps, replaceFormSlotKey, getFormSlotKeys, handleSearchInfoChange } =
+        useTableForm(getProps, slots, fetch, getLoading);
 
       const getBindValues = computed(() => {
         const dataSource = unref(getDataSourceRef);
@@ -300,7 +296,7 @@
   .@{prefix-cls} {
     &-row__striped {
       td {
-        background-color: content-background;
+        background-color: @app-content-background;
       }
     }