修复okx

This commit is contained in:
dekun
2026-05-24 10:14:13 +08:00
parent 5935b5449e
commit 77a0861801
2 changed files with 41 additions and 15 deletions
+3 -2
View File
@@ -1459,8 +1459,9 @@ if(keyForm){
return;
}
const rankMax = data.rank_max || 30;
if(!data.in_top30){
alert(`${data.symbol} 当前日成交量排名 ${data.rank}/${data.total},不在前${rankMax},已拦截。`);
const inTop = data.in_top != null ? data.in_top : data.in_top30;
if(data.rank == null || !inTop){
alert(`${data.symbol} 当前日成交量排名 ${data.rank == null ? "—" : data.rank}/${data.total},不在前${rankMax},已拦截。`);
return;
}
keyForm.submit();