fix: 对 Detectability 值是Infinity的处理
This commit is contained in:
parent
6a3f99177b
commit
b7e4980297
|
@ -349,7 +349,7 @@ const columns = [
|
||||||
dataIndex: 'significance',
|
dataIndex: 'significance',
|
||||||
width: 120,
|
width: 120,
|
||||||
customRender: (text) => {
|
customRender: (text) => {
|
||||||
return text.toFixed(3)
|
return text == 'Infinity' ? 'inf' : text.toFixed(3)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -563,7 +563,7 @@ export default {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.option.brush = { toolbox: [] }
|
this.option.brush = { toolbox: [] }
|
||||||
const firstLine = this.list[0]
|
const firstLine = this.list[0]
|
||||||
if(firstLine) {
|
if (firstLine) {
|
||||||
this.handleTableRowClick(firstLine)
|
this.handleTableRowClick(firstLine)
|
||||||
this.selectedKeys = [firstLine.index]
|
this.selectedKeys = [firstLine.index]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user