fix: update

This commit is contained in:
Fine 2023-06-25 22:32:26 +08:00
parent c374781bd4
commit 49dfcbf1f7

View File

@ -56,7 +56,7 @@ limitations under the License. -->
<div> <div>
<div class="label"> <div class="label">
<span class="mr-5">{{ t("threshold") }}</span> <span class="mr-5">{{ t("threshold") }}</span>
<span>({{ getNotice(item.type) }})</span> <span>{{ getNotice(item.type) }}</span>
</div> </div>
<el-input <el-input
type="number" type="number"
@ -202,7 +202,7 @@ limitations under the License. -->
HTTP_AVG_RESPONSE_TIME: "It is a response time in milliseconds", HTTP_AVG_RESPONSE_TIME: "It is a response time in milliseconds",
}; };
return map[type]; return map[type] ? `(${map[type]})` : "";
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>