fix: bug#10715、10884

This commit is contained in:
jackhoo_98 2023-03-29 15:14:05 +08:00
parent 14634e0fec
commit 162b7596da
2 changed files with 9 additions and 13 deletions

View File

@ -659,9 +659,8 @@ const saveData = () => {
const next = async () => { const next = async () => {
let data1: any = await formRef1.value?.validate(); let data1: any = await formRef1.value?.validate();
if (data1.hostPort?.port) { if (!isNumber(data1.hostPort.port)) {
const port = JSON.parse(data1.hostPort.port).port; data1.hostPort.port = JSON.parse(data1.hostPort.port).port;
data1.hostPort.port = port;
} }
if (!data1?.shareCluster) { if (!data1?.shareCluster) {
await formRef2.value await formRef2.value

View File

@ -77,17 +77,14 @@ const columns = [
width: 200, width: 200,
ellipsis: true, ellipsis: true,
search: { search: {
type: 'string', type: 'select',
options: [
{
label: '证书标准',
value: 'common',
},
],
}, },
// search: {
// type: 'select',
// options: [
// {
// label: '',
// value: 'common',
// },
// ],
// },
scopedSlots: true, scopedSlots: true,
}, },
{ {