🐛(table): 修复 .layui-table-total 背景色 fixed 字段不生效的问题

This commit is contained in:
就眠儀式
2022-12-07 00:34:28 +08:00
parent f393343f03
commit bb9f74922e
4 changed files with 6 additions and 6 deletions

View File

@@ -39,13 +39,13 @@ const selectIcon = function (icon: string): void {
dropdownRef.value?.hide();
};
const onClear = function(): void {
const onClear = function (): void {
emit("update:modelValue", "");
}
};
const hasContent = computed(() => {
return props.modelValue != null && props.modelValue != "";
})
});
const icones: Ref = ref([]);
const total: Ref<number> = ref(icons.length);

View File

@@ -11,7 +11,7 @@ import {
useSlots,
getCurrentInstance,
reactive,
onBeforeUnmount
onBeforeUnmount,
} from "vue";
import { TabInjectKey, TabsContext } from "../tab/interface";

View File

@@ -44,12 +44,11 @@
.layui-table-mend,
.layui-table-tool,
.layui-table-total,
.layui-table-patch,
.layui-table-click,
.layui-table-hover,
.layui-table-header,
.layui-table-total tr,
.layui-table-total td,
.layui-table thead tr,
.layui-table tbody tr:hover td,
.layui-table.layui-table-even tr:nth-child(even) td {