🐛(table): 修改 table-row 组件 props 命名
This commit is contained in:
parent
62585e9e56
commit
e5fd1c6995
@ -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<LayTableProps>(), {
|
||||
checkbox: false,
|
||||
const props = withDefaults(defineProps<LayTableRowProps>(), {
|
||||
checkbox: false
|
||||
});
|
||||
|
||||
const tableSelectedKeys: WritableComputedRef<Recordable[]> = computed({
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user