fix: 数据超过100弹出
This commit is contained in:
@@ -344,6 +344,9 @@ function wsMessage(res: Record<string, any>) {
|
||||
eventJSON: ueEvent.eventJSON,
|
||||
});
|
||||
tablePagination.total += 1;
|
||||
if (tableState.data.length > 100) {
|
||||
tableState.data.pop();
|
||||
}
|
||||
await new Promise(resolve => setTimeout(resolve, 800));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user