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
|
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) {
|
if (run_node) {
|
||||||
const index = this.node_list.indexOf(run_node)
|
const index = this.node_list.indexOf(run_node)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user