From a205c0755a8e1ebef1c18d6b95d6cbb250d0480a Mon Sep 17 00:00:00 2001 From: wangxiang <1827945911@qq.com> Date: Sat, 7 May 2022 02:59:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=A3=20=E6=8F=90=E4=BE=9Bant=E5=8E=9F?= =?UTF-8?q?=E7=94=9F=E8=A1=A8=E6=A0=BC=E7=BB=84=E4=BB=B6=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E5=9F=BA=E6=9C=AC=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kicc-ui/src/views/system/config/config.data.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/kicc-ui/src/views/system/config/config.data.ts b/kicc-ui/src/views/system/config/config.data.ts index 4e1a06a3..dc8d7528 100644 --- a/kicc-ui/src/views/system/config/config.data.ts +++ b/kicc-ui/src/views/system/config/config.data.ts @@ -12,25 +12,32 @@ import { ColumnProps } from "ant-design-vue/lib/table/interface"; export const columns: ColumnProps[] = [ { title: '参数名称', - dataIndex: 'name' + align: 'center', + dataIndex: 'name', + width: 200 }, { title: '参数键名', + align: 'center', dataIndex: 'key' }, { title: '参数键值', + align: 'center', dataIndex: 'value' }, { title: '系统内置', + align: 'center', dataIndex: 'isSys', + width: 130, customRender: ({record}) => { return record.isSys == '0' ? h(Tag, { color: 'success' }, '是') : h(Tag, { color: 'red' }, '否'); } }, { title: '备注', + align: 'center', dataIndex: 'remarks', customRender: ({record}) => { return record.remarks || h(Tag, {color: 'red'},'暂无数据'); @@ -38,6 +45,7 @@ export const columns: ColumnProps[] = [ }, { title: '创建时间', + align: 'center', dataIndex: 'createTime' }, {