From ce02c6b12e4a63ca3287caad91b9ae09daa83706 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Thu, 5 Feb 2026 12:01:24 +0800 Subject: [PATCH] =?UTF-8?q?style(table):=20=E7=A7=BB=E9=99=A4=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E5=88=97=E7=9A=84=E7=9C=81=E7=95=A5=E5=8F=B7=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=B9=B6=E8=B0=83=E6=95=B4=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了门店经理、所在省份、所在城市、所在辖区、门店地址列的ellipsis配置 - 调整排序号列的对齐方式为居中,宽度从120调整为90 - 移除了创建时间列的ellipsis配置 - 在开发环境配置中注释掉VITE_API_URL设置 --- .env.development | 2 +- src/views/shop/shopStore/index.vue | 19 +++++++------------ 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/.env.development b/.env.development index fbcc74b..b8ccd8b 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ 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 diff --git a/src/views/shop/shopStore/index.vue b/src/views/shop/shopStore/index.vue index 6b2c99d..eb95927 100644 --- a/src/views/shop/shopStore/index.vue +++ b/src/views/shop/shopStore/index.vue @@ -122,32 +122,27 @@ { title: '门店经理', dataIndex: 'managerName', - key: 'managerName', - ellipsis: true + key: 'managerName' }, { title: '所在省份', dataIndex: 'province', - key: 'province', - ellipsis: true + key: 'province' }, { title: '所在城市', dataIndex: 'city', - key: 'city', - ellipsis: true + key: 'city' }, { title: '所在辖区', dataIndex: 'region', - key: 'region', - ellipsis: true + key: 'region' }, { title: '门店地址', dataIndex: 'address', - key: 'address', - ellipsis: true + key: 'address' }, // { // title: '经度', @@ -171,7 +166,8 @@ title: '排序号', dataIndex: 'sortNumber', key: 'sortNumber', - width: 120 + align: 'center', + width: 90 }, { title: '创建时间', @@ -180,7 +176,6 @@ width: 200, align: 'center', sorter: true, - ellipsis: true, customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss') }, {