From cf087680d4d0d77fa94a43609428c9bea320d1af Mon Sep 17 00:00:00 2001
From: hLinx <327159425@qq.com>
Date: Tue, 7 Jan 2025 18:15:52 +0800
Subject: [PATCH] =?UTF-8?q?fix(frontend):=20=E6=9C=8D=E5=8A=A1=E7=94=B3?=
=?UTF-8?q?=E8=AF=B7=E6=97=B6=E9=9B=86=E7=BE=A4=E5=90=8D=E7=A7=B0=E5=92=8C?=
=?UTF-8?q?=E9=9B=86=E7=BE=A4=E5=88=AB=E5=90=8D=E7=BC=96=E8=BE=91=E5=90=8E?=
=?UTF-8?q?=E5=80=BC=E6=B2=A1=E6=9C=89=E6=9B=B4=E6=96=B0=20#8942?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
dbm-ui/frontend/src/locales/zh-cn.json | 1 +
.../src/views/db-manage/common/apply-items/ClusterAlias.vue | 2 +-
.../src/views/db-manage/common/apply-items/ClusterName.vue | 4 ++--
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/dbm-ui/frontend/src/locales/zh-cn.json b/dbm-ui/frontend/src/locales/zh-cn.json
index c2cbc3e4a4..f25b770b4e 100644
--- a/dbm-ui/frontend/src/locales/zh-cn.json
+++ b/dbm-ui/frontend/src/locales/zh-cn.json
@@ -3922,5 +3922,6 @@
"Influxdb实例": "Influxdb实例",
"Doris集群": "Doris集群",
"单据协作人": "单据协作人",
+ "集群标识,支持小写字母、数字、连字符 -(连字符不可打头)": "集群标识,支持小写字母、数字、连字符 -(连字符不可打头)",
"这行勿动!新增翻译请在上一行添加!": ""
}
diff --git a/dbm-ui/frontend/src/views/db-manage/common/apply-items/ClusterAlias.vue b/dbm-ui/frontend/src/views/db-manage/common/apply-items/ClusterAlias.vue
index 25eaa1af50..4f56943b35 100644
--- a/dbm-ui/frontend/src/views/db-manage/common/apply-items/ClusterAlias.vue
+++ b/dbm-ui/frontend/src/views/db-manage/common/apply-items/ClusterAlias.vue
@@ -17,10 +17,10 @@
property="details.cluster_alias"
:rules="rules">
diff --git a/dbm-ui/frontend/src/views/db-manage/common/apply-items/ClusterName.vue b/dbm-ui/frontend/src/views/db-manage/common/apply-items/ClusterName.vue
index 532c631afb..898afcd504 100644
--- a/dbm-ui/frontend/src/views/db-manage/common/apply-items/ClusterName.vue
+++ b/dbm-ui/frontend/src/views/db-manage/common/apply-items/ClusterName.vue
@@ -18,6 +18,7 @@
required
:rules="rules">
@@ -40,7 +40,7 @@
const modelValue = defineModel();
- const clusterNamePlaceholder = t('以小写字母或数字开头,支持小写英文字母、数字、连字符-');
+ const clusterNamePlaceholder = t('集群标识,支持小写字母、数字、连字符 -(连字符不可打头)');
const rules = [
{