fix: 对 Detectability 值是Infinity的处理

This commit is contained in:
Xu Zhimeng 2023-12-13 14:44:59 +08:00
parent 6a3f99177b
commit b7e4980297

View File

@ -349,7 +349,7 @@ const columns = [
dataIndex: 'significance',
width: 120,
customRender: (text) => {
return text.toFixed(3)
return text == 'Infinity' ? 'inf' : text.toFixed(3)
},
},
{
@ -563,7 +563,7 @@ export default {
this.$nextTick(() => {
this.option.brush = { toolbox: [] }
const firstLine = this.list[0]
if(firstLine) {
if (firstLine) {
this.handleTableRowClick(firstLine)
this.selectedKeys = [firstLine.index]
}