mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-12 15:52:57 +00:00
fix: update
This commit is contained in:
parent
5d26eaff93
commit
d507eaf2b8
@ -37,12 +37,7 @@ limitations under the License. -->
|
|||||||
>{{ k.split("=")[1] }}</div
|
>{{ k.split("=")[1] }}</div
|
||||||
>
|
>
|
||||||
<div class="value-col" v-if="config.showTableValues">
|
<div class="value-col" v-if="config.showTableValues">
|
||||||
{{
|
{{ data[(keys as string[]).join(",")][data[(keys as string[]).join(",")].length - 1 || 0] }}
|
||||||
(config.metricTypes && config.metricTypes[0] === "readMetricsValue") ||
|
|
||||||
(props.config.typesOfMQE && props.config.typesOfMQE[0] === ExpressionResultType.SINGLE_VALUE)
|
|
||||||
? data[keys[0]]
|
|
||||||
: data[(keys as string[]).join(",")][data[(keys as string[]).join(",")].length - 1 || 0]
|
|
||||||
}}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -51,7 +46,6 @@ limitations under the License. -->
|
|||||||
import { computed } from "vue";
|
import { computed } from "vue";
|
||||||
import type { PropType } from "vue";
|
import type { PropType } from "vue";
|
||||||
import { useI18n } from "vue-i18n";
|
import { useI18n } from "vue-i18n";
|
||||||
import { ExpressionResultType } from "@/views/dashboard/data";
|
|
||||||
/*global defineProps */
|
/*global defineProps */
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
data: {
|
data: {
|
||||||
|
Loading…
Reference in New Issue
Block a user