mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-01 23:03:49 +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)" />
|
||||
</span>
|
||||
<div v-if="(errors || states.tips)[index] && isExpression" class="ml-10 red sm">
|
||||
{{ (errors || states.tips)[index] }}
|
||||
<div v-if="(states.tips || [])[index] && isExpression" class="ml-10 red sm">
|
||||
{{ states.tips[index] }}
|
||||
</div>
|
||||
<div v-if="(subErrors || states.tips)[index] && isExpression" class="ml-10 red sm">
|
||||
{{ (subErrors || states.tips)[index] }}
|
||||
<div v-if="(errors || [])[index] && isExpression" class="ml-10 red sm">
|
||||
{{ (errors || [])[index] }}
|
||||
</div>
|
||||
<div v-if="(subErrors || [])[index] && isExpression" class="ml-10 red sm">
|
||||
{{ (subErrors || [])[index] }}
|
||||
</div>
|
||||
</div>
|
||||
<div>{{ t("visualization") }}</div>
|
||||
|
@ -15,7 +15,7 @@ limitations under the License. -->
|
||||
|
||||
<template>
|
||||
<div
|
||||
v-if="!isNaN(singleVal)"
|
||||
v-if="singleVal !== null && !isNaN(singleVal)"
|
||||
class="chart-card"
|
||||
:style="{
|
||||
fontSize: `${config.fontSize}px`,
|
||||
|
Loading…
Reference in New Issue
Block a user