fix: --的处理
parent
20b585a5c9
commit
a3d913dadd
|
|
@ -81,7 +81,7 @@
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const rankDiff = (index: number, item: any) => {
|
const rankDiff = (index: number, item: any) => {
|
||||||
return index === props.data.length - 1 ? item["rankLine"] !== '--' ? item["rankLine"] - props.data[index + 1]["rankLine"] : '--' : '--';
|
return index === props.data.length - 1 ? item["rankLine"] !== '--' && props.data[index + 1]["rankLine"] !== '--' ? item["rankLine"] - props.data[index + 1]["rankLine"] : '--' : '--';
|
||||||
};
|
};
|
||||||
|
|
||||||
const recompileData = computed(() => {
|
const recompileData = computed(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue