fix: UDM-redis连接配置展开key重复
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user