fix: UDM-redis连接配置展开key重复

This commit is contained in:
TsMask
2025-09-12 18:23:33 +08:00
parent 4f6ad8edc4
commit 5acbec4c45
3 changed files with 10 additions and 10 deletions

View File

@@ -368,7 +368,7 @@ function fnNeTypeChange(v: any) {
hostId: undefined, hostId: undefined,
hostType: 'redis', hostType: 'redis',
groupId: '1', groupId: '1',
title: 'REDIS_NE_6379', title: 'REDIS_NE_6379_master',
addr: modalState.from.ip, addr: modalState.from.ip,
port: 6379, port: 6379,
user: 'udmdb', user: 'udmdb',
@@ -381,7 +381,7 @@ function fnNeTypeChange(v: any) {
hostId: undefined, hostId: undefined,
hostType: 'redis', hostType: 'redis',
groupId: '1', groupId: '1',
title: 'REDIS_NE_6379', title: 'REDIS_NE_6379_slave',
addr: modalState.from.ip, addr: modalState.from.ip,
port: 6379, port: 6379,
user: 'udmdb', user: 'udmdb',

View File

@@ -255,7 +255,7 @@ function fnNeTypeChange(v: any) {
hostId: undefined, hostId: undefined,
hostType: 'redis', hostType: 'redis',
groupId: '1', groupId: '1',
title: 'REDIS_NE_6379', title: 'REDIS_NE_6379_master',
addr: modalState.from.ip, addr: modalState.from.ip,
port: 6379, port: 6379,
user: 'udmdb', user: 'udmdb',
@@ -268,7 +268,7 @@ function fnNeTypeChange(v: any) {
hostId: undefined, hostId: undefined,
hostType: 'redis', hostType: 'redis',
groupId: '1', groupId: '1',
title: 'REDIS_NE_6379', title: 'REDIS_NE_6379_slave',
addr: modalState.from.ip, addr: modalState.from.ip,
port: 6379, port: 6379,
user: 'udmdb', user: 'udmdb',
@@ -381,7 +381,7 @@ onMounted(() => {
<template #title> <template #title>
{{ t('views.ne.common.neTypeTip') }} {{ t('views.ne.common.neTypeTip') }}
</template> </template>
<InfoCircleOutlined style="opacity: 0.45; color: inherit;" /> <InfoCircleOutlined style="opacity: 0.45; color: inherit" />
</a-tooltip> </a-tooltip>
</template> </template>
</a-input> </a-input>
@@ -405,7 +405,7 @@ onMounted(() => {
<template #title> <template #title>
{{ t('views.ne.common.neIdTip') }} {{ t('views.ne.common.neIdTip') }}
</template> </template>
<InfoCircleOutlined style="opacity: 0.45; color: inherit;" /> <InfoCircleOutlined style="opacity: 0.45; color: inherit" />
</a-tooltip> </a-tooltip>
</template> </template>
</a-input> </a-input>
@@ -435,7 +435,7 @@ onMounted(() => {
{{ t('views.ne.common.ipAddrTip') }} {{ t('views.ne.common.ipAddrTip') }}
</div> </div>
</template> </template>
<InfoCircleOutlined style="opacity: 0.45; color: inherit;" /> <InfoCircleOutlined style="opacity: 0.45; color: inherit" />
</a-tooltip> </a-tooltip>
</template> </template>
</a-input> </a-input>
@@ -460,7 +460,7 @@ onMounted(() => {
<template #title> <template #title>
<div>{{ t('views.ne.common.portTip') }}</div> <div>{{ t('views.ne.common.portTip') }}</div>
</template> </template>
<InfoCircleOutlined style="opacity: 0.45; color: inherit;" /> <InfoCircleOutlined style="opacity: 0.45; color: inherit" />
</a-tooltip> </a-tooltip>
</template> </template>
</a-input-number> </a-input-number>

View File

@@ -214,7 +214,7 @@ function fnNeTypeChange(v: any, data: any) {
hostId: undefined, hostId: undefined,
hostType: 'redis', hostType: 'redis',
groupId: '1', groupId: '1',
title: 'REDIS_NE_6379', title: 'REDIS_NE_6379_master',
addr: modalState.from.ip, addr: modalState.from.ip,
port: 6379, port: 6379,
user: 'udmdb', user: 'udmdb',
@@ -227,7 +227,7 @@ function fnNeTypeChange(v: any, data: any) {
hostId: undefined, hostId: undefined,
hostType: 'redis', hostType: 'redis',
groupId: '1', groupId: '1',
title: 'REDIS_NE_6379', title: 'REDIS_NE_6379_slave',
addr: modalState.from.ip, addr: modalState.from.ip,
port: 6379, port: 6379,
user: 'udmdb', user: 'udmdb',