mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Low version browsers do not have the at function (#1870)
This commit is contained in:
parent
832b0dbd63
commit
bcdc2fd883
|
|
@ -138,7 +138,7 @@ export class ChatRecordManage {
|
|||
) {
|
||||
return this.write_node_info
|
||||
}
|
||||
const run_node = this.node_list.filter((item) => item.buffer.length > 0 || !item.is_end).at(0)
|
||||
const run_node = this.node_list.filter((item) => item.buffer.length > 0 || !item.is_end)[0]
|
||||
|
||||
if (run_node) {
|
||||
const index = this.node_list.indexOf(run_node)
|
||||
|
|
|
|||
Loading…
Reference in New Issue