fix: hostId 变更类型和字段名

This commit is contained in:
TsMask
2025-02-26 09:51:34 +08:00
parent cdc31a9ced
commit 7429a55734
14 changed files with 103 additions and 108 deletions

View File

@@ -196,7 +196,7 @@ function fnNeTypeChange(v: any, data: any) {
// UPF标准版本可支持5002
if (hostsLen === 2 && v === 'UPF') {
modalState.from.hosts.push({
hostId: undefined,
id: undefined,
hostType: 'telnet',
groupId: '1',
title: 'Telnet_NE_5002',
@@ -211,7 +211,7 @@ function fnNeTypeChange(v: any, data: any) {
// UDM可支持6379
if (hostsLen === 2 && v === 'UDM') {
modalState.from.hosts.push({
hostId: undefined,
id: undefined,
hostType: 'redis',
groupId: '1',
title: 'REDIS_NE_6379',
@@ -248,7 +248,7 @@ function fnModalVisibleByEdit(record?: any) {
// 主机
hosts: [
{
hostId: undefined,
id: undefined,
hostType: 'ssh',
groupId: '1',
title: 'SSH_NE_22',
@@ -262,7 +262,7 @@ function fnModalVisibleByEdit(record?: any) {
remark: '',
},
{
hostId: undefined,
id: undefined,
hostType: 'telnet',
groupId: '1',
title: 'Telnet_NE_4100',