张诺
4 天以前 8657873b0a4c57904bcecdab121f6b261c92ef6e
src/views/reportAnalysis/qualityAnalysis/components/center-top.vue
@@ -27,7 +27,7 @@
const formatPercent = (val) => {
  const num = Number(val) || 0
  return `${num.toFixed(2)}%`
  return `${num.toFixed(3)}%`
}
const compareClass = (val) => (val >= 0 ? 'compare-up' : 'compare-down')