fix(system/client): 修复客户端添加表单布局

This commit is contained in:
2025-03-13 21:18:06 +08:00
parent 657c83bf19
commit 43b9793d0e

View File

@@ -83,6 +83,7 @@ const columns: ColumnItem[] = reactive([
field: 'authType', field: 'authType',
type: 'select', type: 'select',
required: true, required: true,
span: 12,
props: { props: {
options: auth_type_enum, options: auth_type_enum,
multiple: true, multiple: true,
@@ -93,6 +94,7 @@ const columns: ColumnItem[] = reactive([
label: '终端类型', label: '终端类型',
field: 'clientType', field: 'clientType',
type: 'select', type: 'select',
span: 12,
props: { props: {
options: client_type, options: client_type,
}, },
@@ -106,6 +108,7 @@ const columns: ColumnItem[] = reactive([
), ),
field: 'activeTimeout', field: 'activeTimeout',
type: 'input-number', type: 'input-number',
span: 12,
slots: { slots: {
append: () => ( append: () => (
<span style={{ width: '30px', textAlign: 'center' }}></span> <span style={{ width: '30px', textAlign: 'center' }}></span>
@@ -125,6 +128,7 @@ const columns: ColumnItem[] = reactive([
), ),
field: 'timeout', field: 'timeout',
type: 'input-number', type: 'input-number',
span: 12,
slots: { slots: {
append: () => ( append: () => (
<span style={{ width: '30px', textAlign: 'center' }}></span> <span style={{ width: '30px', textAlign: 'center' }}></span>
@@ -140,6 +144,7 @@ const columns: ColumnItem[] = reactive([
field: 'status', field: 'status',
type: 'radio-group', type: 'radio-group',
required: true, required: true,
span: 24,
props: { props: {
type: 'button', type: 'button',
options: DisEnableStatusList, options: DisEnableStatusList,