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 }} + +