mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-01 22:43:52 +00:00
fix: show error messages and update style for no data
(#279)
This commit is contained in:
parent
9b1a5f7a74
commit
7738695601
@ -93,11 +93,14 @@ limitations under the License. -->
|
|||||||
/>
|
/>
|
||||||
<Icon class="cp" iconName="remove_circle_outline" size="middle" @click="deleteMetric(index)" />
|
<Icon class="cp" iconName="remove_circle_outline" size="middle" @click="deleteMetric(index)" />
|
||||||
</span>
|
</span>
|
||||||
<div v-if="(errors || states.tips)[index] && isExpression" class="ml-10 red sm">
|
<div v-if="(states.tips || [])[index] && isExpression" class="ml-10 red sm">
|
||||||
{{ (errors || states.tips)[index] }}
|
{{ states.tips[index] }}
|
||||||
</div>
|
</div>
|
||||||
<div v-if="(subErrors || states.tips)[index] && isExpression" class="ml-10 red sm">
|
<div v-if="(errors || [])[index] && isExpression" class="ml-10 red sm">
|
||||||
{{ (subErrors || states.tips)[index] }}
|
{{ (errors || [])[index] }}
|
||||||
|
</div>
|
||||||
|
<div v-if="(subErrors || [])[index] && isExpression" class="ml-10 red sm">
|
||||||
|
{{ (subErrors || [])[index] }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>{{ t("visualization") }}</div>
|
<div>{{ t("visualization") }}</div>
|
||||||
|
@ -15,7 +15,7 @@ limitations under the License. -->
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
v-if="!isNaN(singleVal)"
|
v-if="singleVal !== null && !isNaN(singleVal)"
|
||||||
class="chart-card"
|
class="chart-card"
|
||||||
:style="{
|
:style="{
|
||||||
fontSize: `${config.fontSize}px`,
|
fontSize: `${config.fontSize}px`,
|
||||||
|
Loading…
Reference in New Issue
Block a user