🐛(table): 修复 .layui-table-total 背景色 fixed 字段不生效的问题
This commit is contained in:
parent
f393343f03
commit
bb9f74922e
@ -39,13 +39,13 @@ const selectIcon = function (icon: string): void {
|
|||||||
dropdownRef.value?.hide();
|
dropdownRef.value?.hide();
|
||||||
};
|
};
|
||||||
|
|
||||||
const onClear = function(): void {
|
const onClear = function (): void {
|
||||||
emit("update:modelValue", "");
|
emit("update:modelValue", "");
|
||||||
}
|
};
|
||||||
|
|
||||||
const hasContent = computed(() => {
|
const hasContent = computed(() => {
|
||||||
return props.modelValue != null && props.modelValue != "";
|
return props.modelValue != null && props.modelValue != "";
|
||||||
})
|
});
|
||||||
|
|
||||||
const icones: Ref = ref([]);
|
const icones: Ref = ref([]);
|
||||||
const total: Ref<number> = ref(icons.length);
|
const total: Ref<number> = ref(icons.length);
|
||||||
|
@ -11,7 +11,7 @@ import {
|
|||||||
useSlots,
|
useSlots,
|
||||||
getCurrentInstance,
|
getCurrentInstance,
|
||||||
reactive,
|
reactive,
|
||||||
onBeforeUnmount
|
onBeforeUnmount,
|
||||||
} from "vue";
|
} from "vue";
|
||||||
import { TabInjectKey, TabsContext } from "../tab/interface";
|
import { TabInjectKey, TabsContext } from "../tab/interface";
|
||||||
|
|
||||||
|
@ -44,12 +44,11 @@
|
|||||||
|
|
||||||
.layui-table-mend,
|
.layui-table-mend,
|
||||||
.layui-table-tool,
|
.layui-table-tool,
|
||||||
.layui-table-total,
|
|
||||||
.layui-table-patch,
|
.layui-table-patch,
|
||||||
.layui-table-click,
|
.layui-table-click,
|
||||||
.layui-table-hover,
|
.layui-table-hover,
|
||||||
.layui-table-header,
|
.layui-table-header,
|
||||||
.layui-table-total tr,
|
.layui-table-total td,
|
||||||
.layui-table thead tr,
|
.layui-table thead tr,
|
||||||
.layui-table tbody tr:hover td,
|
.layui-table tbody tr:hover td,
|
||||||
.layui-table.layui-table-even tr:nth-child(even) td {
|
.layui-table.layui-table-even tr:nth-child(even) td {
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
<li>[修复] button 组件 夜间模式 下, 普通按钮边框高亮与背景色不一致的问题。</li>
|
<li>[修复] button 组件 夜间模式 下, 普通按钮边框高亮与背景色不一致的问题。</li>
|
||||||
<li>[优化] checkbox 组件 默认主题 下, 勾选框多余的左边框。</li>
|
<li>[优化] checkbox 组件 默认主题 下, 勾选框多余的左边框。</li>
|
||||||
<li>[优化] icon-picker 组件 下拉 图标, 在打开关闭时赋予不同的状态。</li>
|
<li>[优化] icon-picker 组件 下拉 图标, 在打开关闭时赋予不同的状态。</li>
|
||||||
|
<li>[优化] table 组件 .layui-table-total 背景色 fixed 字段不生效的问题。</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user