dvr分析

This commit is contained in:
仲么了
2024-01-15 10:36:24 +08:00
parent df192a9a7f
commit 646af778e9
7 changed files with 249 additions and 12 deletions

View File

@@ -1,14 +1,16 @@
import { VxeTableProps } from "vxe-table";
import { VxeTableProps } from 'vxe-table'
export const defaultAttribute:VxeTableProps = {
export const defaultAttribute: VxeTableProps = {
align: 'center',
headerCellClassName: 'table-header-cell',
border: true,
stripe: true,
size: 'small',
columnConfig: { resizable: true },
rowConfig: { isCurrent: true, isHover: true },
rowConfig: { isCurrent: true, isHover: true,keyField: 'id' },
scrollX: { scrollToLeftOnChange: true },
scrollY: { scrollToTopOnChange: true,enabled:true },
treeConfig: {}
}
scrollY: { scrollToTopOnChange: true, enabled: true },
treeConfig: {
reserve: true
}
}

View File

@@ -204,6 +204,7 @@ const getTagType = (value: string, custom: any): TagProps['type'] => {
}
.table-operate-text {
padding-left: 5px;
font-size: 12px;
}
.table-operate {
padding: 4px 5px;

View File

@@ -161,5 +161,8 @@ defineExpose({
max-width: 100%;
background-color: var(--ba-bg-color-overlay);
padding: 13px 15px;
border-left: 1px solid #e4e7e9;
border-right: 1px solid #e4e7e9;
border-bottom: 1px solid #e4e7e9;
}
</style>