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

View File

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

View File

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