fix: 修复alertRule 别表页面阈值错误

This commit is contained in:
@changcode
2022-03-25 16:55:30 +08:00
parent 4e343d7137
commit 252f03f59f

View File

@@ -6,7 +6,7 @@
import bus from '../../libs/bus'
import { formatScientificNotation } from '@/components/common/js/tools'
function none (value, index) {
const scientificNotationValue = formatScientificNotation(num, dot)
const scientificNotationValue = formatScientificNotation(value, 2)
if (!numberWithEConvent(scientificNotationValue)) {
return scientificNotationValue
}