diff --git a/src/views/link/AccessConfig/components/Media/GB28181.vue b/src/views/link/AccessConfig/components/Media/GB28181.vue index 6bf930b2..4b1be3ea 100644 --- a/src/views/link/AccessConfig/components/Media/GB28181.vue +++ b/src/views/link/AccessConfig/components/Media/GB28181.vue @@ -659,9 +659,8 @@ const saveData = () => { const next = async () => { let data1: any = await formRef1.value?.validate(); - if (data1.hostPort?.port) { - const port = JSON.parse(data1.hostPort.port).port; - data1.hostPort.port = port; + if (!isNumber(data1.hostPort.port)) { + data1.hostPort.port = JSON.parse(data1.hostPort.port).port; } if (!data1?.shareCluster) { await formRef2.value diff --git a/src/views/link/Certificate/index.vue b/src/views/link/Certificate/index.vue index b90f23e6..c573c068 100644 --- a/src/views/link/Certificate/index.vue +++ b/src/views/link/Certificate/index.vue @@ -77,17 +77,14 @@ const columns = [ width: 200, ellipsis: true, search: { - type: 'string', + type: 'select', + options: [ + { + label: '证书标准', + value: 'common', + }, + ], }, - // search: { - // type: 'select', - // options: [ - // { - // label: '证书标准', - // value: 'common', - // }, - // ], - // }, scopedSlots: true, }, {