diff --git a/package/component/src/component/table/TableRow.vue b/package/component/src/component/table/TableRow.vue index ff072849..513439bb 100644 --- a/package/component/src/component/table/TableRow.vue +++ b/package/component/src/component/table/TableRow.vue @@ -8,7 +8,7 @@ export default { import { computed, ref, useSlots, WritableComputedRef } from "vue"; import { Recordable } from "../../types"; -export interface LayTableProps { +export interface LayTableRowProps { selectedKeys: Recordable[]; tableColumnKeys: Recordable[]; columns: Recordable[]; @@ -25,8 +25,8 @@ const emit = defineEmits([ "update:selectedKeys", ]); -const props = withDefaults(defineProps(), { - checkbox: false, +const props = withDefaults(defineProps(), { + checkbox: false }); const tableSelectedKeys: WritableComputedRef = computed({ diff --git a/package/component/src/component/table/index.less b/package/component/src/component/table/index.less index 1305aac6..ce4036d1 100644 --- a/package/component/src/component/table/index.less +++ b/package/component/src/component/table/index.less @@ -362,6 +362,14 @@ border-radius: 2px; } +.layui-table-cell-expand-icon-none { + display: none; +} + +.layui-table-cell-expand-icon-hidden { + visibility: hidden; +} + .layui-table-body { position: relative; overflow: auto;