style(table): 移除表格列的省略号配置并调整样式
- 移除了门店经理、所在省份、所在城市、所在辖区、门店地址列的ellipsis配置 - 调整排序号列的对齐方式为居中,宽度从120调整为90 - 移除了创建时间列的ellipsis配置 - 在开发环境配置中注释掉VITE_API_URL设置
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
VITE_APP_NAME=后台管理(开发环境)
|
VITE_APP_NAME=后台管理(开发环境)
|
||||||
VITE_API_URL=http://127.0.0.1:9200/api
|
#VITE_API_URL=http://127.0.0.1:9200/api
|
||||||
#VITE_SERVER_API_URL=http://127.0.0.1:8000/api
|
#VITE_SERVER_API_URL=http://127.0.0.1:8000/api
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -122,32 +122,27 @@
|
|||||||
{
|
{
|
||||||
title: '门店经理',
|
title: '门店经理',
|
||||||
dataIndex: 'managerName',
|
dataIndex: 'managerName',
|
||||||
key: 'managerName',
|
key: 'managerName'
|
||||||
ellipsis: true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '所在省份',
|
title: '所在省份',
|
||||||
dataIndex: 'province',
|
dataIndex: 'province',
|
||||||
key: 'province',
|
key: 'province'
|
||||||
ellipsis: true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '所在城市',
|
title: '所在城市',
|
||||||
dataIndex: 'city',
|
dataIndex: 'city',
|
||||||
key: 'city',
|
key: 'city'
|
||||||
ellipsis: true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '所在辖区',
|
title: '所在辖区',
|
||||||
dataIndex: 'region',
|
dataIndex: 'region',
|
||||||
key: 'region',
|
key: 'region'
|
||||||
ellipsis: true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '门店地址',
|
title: '门店地址',
|
||||||
dataIndex: 'address',
|
dataIndex: 'address',
|
||||||
key: 'address',
|
key: 'address'
|
||||||
ellipsis: true
|
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// title: '经度',
|
// title: '经度',
|
||||||
@@ -171,7 +166,8 @@
|
|||||||
title: '排序号',
|
title: '排序号',
|
||||||
dataIndex: 'sortNumber',
|
dataIndex: 'sortNumber',
|
||||||
key: 'sortNumber',
|
key: 'sortNumber',
|
||||||
width: 120
|
align: 'center',
|
||||||
|
width: 90
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '创建时间',
|
title: '创建时间',
|
||||||
@@ -180,7 +176,6 @@
|
|||||||
width: 200,
|
width: 200,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
sorter: true,
|
sorter: true,
|
||||||
ellipsis: true,
|
|
||||||
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
|
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user