From 4c19f1085b22df7cd06492f6610bd61ee0cc2d9d Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Wed, 10 Jan 2024 15:42:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=85=8D=E7=BD=AE=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=8E=92=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/config/index.vue | 40 ++++++++++++++++++++++++------- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue index f9ae6293..29fe20b2 100644 --- a/src/views/system/config/index.vue +++ b/src/views/system/config/index.vue @@ -99,33 +99,38 @@ let tableColumns: ColumnsType = [ { title: t('common.rowId'), dataIndex: 'configId', - align: 'center', + align: 'left', }, { title: t('views.system.config.configName'), dataIndex: 'configName', align: 'left', + width: 200, }, { title: t('views.system.config.configKey'), dataIndex: 'configKey', align: 'left', + width: 200, }, { title: t('views.system.config.configValue'), dataIndex: 'configValue', align: 'left', + width: 200, }, { title: t('views.system.config.configType'), dataIndex: 'configType', key: 'configType', align: 'center', + width: 100, }, { title: t('views.system.config.createTime'), dataIndex: 'createTime', align: 'center', + width: 150, customRender(opt) { if (+opt.value <= 0) return ''; return parseDateToStr(+opt.value); @@ -134,7 +139,7 @@ let tableColumns: ColumnsType = [ { title: t('common.operate'), key: 'configId', - align: 'center', + align: 'left', }, ]; @@ -655,7 +660,7 @@ onMounted(() => { :size="tableState.size" :row-class-name="fnTableStriped" :pagination="tablePagination" - :scroll="{ x: true }" + :scroll="{ x: tableColumns.length * 120 }" :row-selection="{ type: 'checkbox', selectedRowKeys: tableState.selectedRowKeys, @@ -711,7 +716,7 @@ onMounted(() => { :title="modalState.title" @cancel="fnModalCancel" > - + { - - {{ modalState.from.remark }} + +