diff --git a/package/component/src/component/iconPicker/index.vue b/package/component/src/component/iconPicker/index.vue index a3b39392..b5b9c406 100644 --- a/package/component/src/component/iconPicker/index.vue +++ b/package/component/src/component/iconPicker/index.vue @@ -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 = ref(icons.length); diff --git a/package/component/src/component/tabItem/index.vue b/package/component/src/component/tabItem/index.vue index c946f4d0..3db47292 100644 --- a/package/component/src/component/tabItem/index.vue +++ b/package/component/src/component/tabItem/index.vue @@ -11,7 +11,7 @@ import { useSlots, getCurrentInstance, reactive, - onBeforeUnmount + onBeforeUnmount, } from "vue"; import { TabInjectKey, TabsContext } from "../tab/interface"; diff --git a/package/component/src/component/table/index.less b/package/component/src/component/table/index.less index f205795c..4cb96a0b 100644 --- a/package/component/src/component/table/index.less +++ b/package/component/src/component/table/index.less @@ -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 { diff --git a/package/document-component/src/document/zh-CN/guide/changelog.md b/package/document-component/src/document/zh-CN/guide/changelog.md index bf28f91e..ae376b40 100644 --- a/package/document-component/src/document/zh-CN/guide/changelog.md +++ b/package/document-component/src/document/zh-CN/guide/changelog.md @@ -20,6 +20,7 @@
  • [修复] button 组件 夜间模式 下, 普通按钮边框高亮与背景色不一致的问题。
  • [优化] checkbox 组件 默认主题 下, 勾选框多余的左边框。
  • [优化] icon-picker 组件 下拉 图标, 在打开关闭时赋予不同的状态。
  • +
  • [优化] table 组件 .layui-table-total 背景色 fixed 字段不生效的问题。