fix: --的处理

master
DavidMorgan 2026-04-15 16:12:34 +08:00
parent 20b585a5c9
commit a3d913dadd
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@
]);
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(() => {