20260807230157
This commit is contained in:
1 parent
a07b1b6fdb
commit
fa510854b4
7 files changed
+135
-57
No files matched your search
@@ -876,7 +876,6 @@ defineExpose({
|
||||
min-height: 0;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--fms-border, #e5e7eb);
|
||||
border-radius: 6px;
|
||||
background: var(--fms-surface, #fff);
|
||||
}
|
||||
|
||||
@@ -244,8 +244,7 @@ watch(() => props.queryItems, initializeDrafts, { immediate: true });
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
padding: 8px 12px;
|
||||
border-bottom: 1px solid var(--fms-border, #e5e7eb);
|
||||
padding: 8px 0;
|
||||
background: var(--fms-surface, #fff);
|
||||
}
|
||||
|
||||
|
||||
@@ -253,6 +253,8 @@ const customVars = {
|
||||
"--header-row-height": `${headerRowHeight}px`,
|
||||
"--row-height": `${rowHeight}px`,
|
||||
"--footer-row-height": "36px",
|
||||
"--th-bgc": "#fff",
|
||||
"--tf-bgc": "#fff",
|
||||
};
|
||||
|
||||
// 选择列:已选状态管理 + 渲染逻辑全部内聚在 createSelectionColumn 中
|
||||
@@ -498,10 +500,10 @@ defineExpose({
|
||||
:data-source="dataSource"
|
||||
:drag-row-config="{ mode: rowDraggable ? 'insert' : 'none' }"
|
||||
:row-key="rowKey"
|
||||
:bordered="props.editable ? true : 'body-h'"
|
||||
:no-data-full="noDataFull"
|
||||
:show-overflow="showOverflow"
|
||||
:area-selection="editable"
|
||||
:bordered="'h'"
|
||||
@area-selection-change="handleAreaSelectionChange"
|
||||
@row-order-change="handleRowOrderChange"
|
||||
>
|
||||
@@ -529,6 +531,14 @@ defineExpose({
|
||||
<!-- 非 scoped 全局样式:选择列原生 checkbox 外观模拟 antdv-next Checkbox,
|
||||
避免每行创建 Checkbox 组件实例导致的滚动性能退化 -->
|
||||
<style lang="scss">
|
||||
/* 双类选择器 .fms-table__inner.stk-table 权重 (0,2,1) > 库默认 .stk-table (0,1,1) */
|
||||
.fms-table__inner.stk-table {
|
||||
th,
|
||||
td {
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
.fms-checkbox {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in new issue
Block a user