From bb9f74922effe3ece835d51afa835a2720200b6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Wed, 7 Dec 2022 00:34:28 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(table):=20=E4=BF=AE=E5=A4=8D=20.la?= =?UTF-8?q?yui-table-total=20=E8=83=8C=E6=99=AF=E8=89=B2=20fixed=20?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E4=B8=8D=E7=94=9F=E6=95=88=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/src/component/iconPicker/index.vue | 6 +++--- package/component/src/component/tabItem/index.vue | 2 +- package/component/src/component/table/index.less | 3 +-- .../src/document/zh-CN/guide/changelog.md | 1 + 4 files changed, 6 insertions(+), 6 deletions(-) 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 字段不生效的问题。