优化网站导航模块
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div class="ele-body">
|
||||
<a-card :bordered="false" :body-style="{ padding: '16px' }">
|
||||
<ele-split-layout
|
||||
width="266px"
|
||||
width="366px"
|
||||
allow-collapse
|
||||
:right-style="{ overflow: 'hidden' }"
|
||||
:style="{ minHeight: 'calc(100vh - 152px)' }"
|
||||
@@ -103,14 +103,22 @@
|
||||
|
||||
// 表格列配置
|
||||
const columns = ref<ColumnItem[]>([
|
||||
// {
|
||||
// key: 'index',
|
||||
// width: 35,
|
||||
// ellipsis: true,
|
||||
// align: 'center',
|
||||
// fixed: 'left',
|
||||
// hideInSetting: true,
|
||||
// customRender: ({ index }) => index + (tableRef.value?.tableIndex ?? 0)
|
||||
// },
|
||||
{
|
||||
key: 'index',
|
||||
width: 35,
|
||||
ellipsis: true,
|
||||
title: 'ID',
|
||||
dataIndex: 'dictId',
|
||||
key: 'dictId',
|
||||
width: 50,
|
||||
align: 'center',
|
||||
fixed: 'left',
|
||||
hideInSetting: true,
|
||||
customRender: ({ index }) => index + (tableRef.value?.tableIndex ?? 0)
|
||||
fixed: 'left'
|
||||
},
|
||||
{
|
||||
title: '字典名称',
|
||||
|
||||
Reference in New Issue
Block a user