diff --git a/src/views/dashboard/demo/components/ParameterInfo.vue b/src/views/dashboard/demo/components/ParameterInfo.vue index 6d40241..93476b4 100644 --- a/src/views/dashboard/demo/components/ParameterInfo.vue +++ b/src/views/dashboard/demo/components/ParameterInfo.vue @@ -13,14 +13,14 @@ const props = defineProps({ function getInterval(record: any) { console.log(record) - if (record.originValue === '-') + if (record.predictValue === '-') return '-' - record.originValue = Number(record.originValue).toFixed(2) + record.predictValue = Number(record.predictValue).toFixed(2) const threshold = record.ResidualThreshold console.log(threshold) - const originValue = record.originValue || 0 - return `[${Number(originValue) - threshold},${Number(originValue) + threshold}]` + const predictValue = record.predictValue || 0 + return `[${Number(predictValue) - threshold},${Number(predictValue) + threshold}]` } const [registerTable, { setTableData }] = useTable({ dataSource: [],