Commit b3fbe3ed by Lin

fix(EffectDetailDialog): 更新值的渲染条件以处理null情况

- 修改currentValue和nextValue的渲染条件,确保在值为null时不会出现错误。
- 提升组件的健壮性,避免潜在的渲染问题。
1 parent 97b800f3
......@@ -39,7 +39,7 @@
<div class="value flex">
<template v-if="item.currentValue >= 0">
<template v-if="item.currentValue != null && item.currentValue >= 0">
{{ item.currentValue }}<template v-if="item.unit">
......@@ -85,7 +85,7 @@
<div class="value flex">
<template v-if="item.nextValue >= 0">
<template v-if="item.nextValue != null && item.nextValue >= 0">
{{ item.nextValue }}<template v-if="item.unit">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!