This commit is contained in:
Fine 2024-10-18 14:37:21 +08:00
commit c9a71efea9
4 changed files with 4 additions and 4 deletions

View File

@ -387,6 +387,6 @@ const msg = {
hierarchyNodeMetrics: "Metrics for Hierarchy Graph Node",
hierarchyNodeDashboard: "As dashboard for Hierarchy Graph Node",
valueMappings: "Value Mappings",
mappingTip: `Notice: The mapping key support a regex string, e.g. `,
mappingTip: "Notice: The mapping key is a Regex string, e.g. ^([0-9])$",
};
export default msg;

View File

@ -387,6 +387,6 @@ const msg = {
hierarchyNodeMetrics: "Metrics for Hierarchy Graph Node",
hierarchyNodeDashboard: "As dashboard for Hierarchy Graph Node",
valueMappings: "Value Mappings",
mappingTip: `Notice: The mapping key support a regex string, e.g. `,
mappingTip: "Aviso: La clave de mapeo es una cadena Regex, p. ej. ^([0-9])$",
};
export default msg;

View File

@ -385,6 +385,6 @@ const msg = {
hierarchyNodeMetrics: "层次图节点的指标",
hierarchyNodeDashboard: "作为层次图节点的dashboard",
valueMappings: "值映射",
mappingTip: "注意: 映射键是一个正则表达式字符串,比如 ",
mappingTip: "注意: 映射键是一个正则表达式字符串,比如 ^([0-9])$",
};
export default msg;

View File

@ -15,7 +15,7 @@ limitations under the License. -->
<template>
<div>
<span class="label">{{ t("valueMappings") }}</span>
<span class="label red">{{ t("mappingTip") }} ^-?(0(\.[0-9]+)?|1(\.0+)?)$</span>
<span class="label red">{{ t("mappingTip") }}</span>
</div>
<div v-for="(key, index) in keys" :key="index" class="mb-10 flex-h">
<div class="content-decoration" contenteditable="true" @blur="changeKeys($event, index)">