mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-18 06:25:24 +00:00
update
This commit is contained in:
parent
6580e8abc0
commit
431122c139
@ -15,7 +15,7 @@ limitations under the License. -->
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<span class="label">{{ t("valueMappings") }}</span>
|
<span class="label">{{ t("valueMappings") }}</span>
|
||||||
<span class="label red">{{ t("mappingTip") }} ^-?(0|[1-9][0-9]*|2)(\\.0+)?$</span>
|
<span class="label red">{{ t("mappingTip") }} ^-?(0(\.[0-9]+)?|1(\.0+)?)$</span>
|
||||||
</div>
|
</div>
|
||||||
<div v-for="(key, index) in keys" :key="index" class="mb-10 flex-h">
|
<div v-for="(key, index) in keys" :key="index" class="mb-10 flex-h">
|
||||||
<div class="content-decoration" contenteditable="true" @blur="changeKeys($event, index)">
|
<div class="content-decoration" contenteditable="true" @blur="changeKeys($event, index)">
|
||||||
@ -55,7 +55,7 @@ limitations under the License. -->
|
|||||||
valueMappings.value[params] = valueMappings.value[list[index]];
|
valueMappings.value[params] = valueMappings.value[list[index]];
|
||||||
}
|
}
|
||||||
delete valueMappings.value[list[index]];
|
delete valueMappings.value[list[index]];
|
||||||
keys.value = valueMappings.value.length ? Object.keys(valueMappings.value) : [""];
|
keys.value = Object.keys(valueMappings.value);
|
||||||
updateConfig();
|
updateConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user